application: Fix ordering of entries by id
This commit is contained in:
committed by
Chris Morgan
parent
c71456d159
commit
729df377f9
@@ -909,7 +909,7 @@ class Application {
|
|||||||
if(!$bRejected)
|
if(!$bRejected)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
$sQuery .= " AND appFamily.submitterId = '?' ORDER BY '?'$sLimit";
|
$sQuery .= " AND appFamily.submitterId = '?' ORDER BY ?$sLimit";
|
||||||
if($sLimit)
|
if($sLimit)
|
||||||
{
|
{
|
||||||
$hResult = query_parameters($sQuery, $sQueued,
|
$hResult = query_parameters($sQuery, $sQueued,
|
||||||
@@ -922,7 +922,7 @@ class Application {
|
|||||||
}
|
}
|
||||||
} else
|
} else
|
||||||
{
|
{
|
||||||
$sQuery .= " ORDER BY '?'$sLimit";
|
$sQuery .= " ORDER BY ?$sLimit";
|
||||||
if($sLimit)
|
if($sLimit)
|
||||||
{
|
{
|
||||||
$hResult = query_parameters($sQuery, $sQueued, $sOrderBy,
|
$hResult = query_parameters($sQuery, $sQueued, $sOrderBy,
|
||||||
|
|||||||
Reference in New Issue
Block a user