version: Fix ordering entries by id
This commit is contained in:
committed by
Chris Morgan
parent
aa4cdd7a42
commit
c71456d159
@@ -1482,7 +1482,7 @@ class version {
|
|||||||
AND
|
AND
|
||||||
appVersion.submitterId = '?'
|
appVersion.submitterId = '?'
|
||||||
AND
|
AND
|
||||||
appVersion.queued = '?' ORDER BY '?'$sLimit";
|
appVersion.queued = '?' ORDER BY ?$sLimit";
|
||||||
else
|
else
|
||||||
$sQuery = "SELECT appVersion.* FROM
|
$sQuery = "SELECT appVersion.* FROM
|
||||||
appVersion, appMaintainers, appFamily WHERE
|
appVersion, appMaintainers, appFamily WHERE
|
||||||
@@ -1508,7 +1508,7 @@ class version {
|
|||||||
AND
|
AND
|
||||||
appMaintainers.queued = 'false'
|
appMaintainers.queued = 'false'
|
||||||
AND
|
AND
|
||||||
appVersion.queued = '?' ORDER BY '?'$sLimit";
|
appVersion.queued = '?' ORDER BY ?$sLimit";
|
||||||
|
|
||||||
if($sLimit)
|
if($sLimit)
|
||||||
{
|
{
|
||||||
@@ -1527,7 +1527,7 @@ class version {
|
|||||||
AND
|
AND
|
||||||
appFamily.queued = 'false'
|
appFamily.queued = 'false'
|
||||||
AND
|
AND
|
||||||
appVersion.queued = '?' ORDER BY '?'$sLimit";
|
appVersion.queued = '?' ORDER BY ?$sLimit";
|
||||||
|
|
||||||
if($sLimit)
|
if($sLimit)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user