From c71456d159643e84cd1d8a7a0dcd729dd195539a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20Nicolaysen=20S=C3=B8rnes?= Date: Thu, 25 Oct 2007 00:07:05 +0200 Subject: [PATCH] version: Fix ordering entries by id --- include/version.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/version.php b/include/version.php index 8d49bf3..9d97553 100644 --- a/include/version.php +++ b/include/version.php @@ -1482,7 +1482,7 @@ class version { AND appVersion.submitterId = '?' AND - appVersion.queued = '?' ORDER BY '?'$sLimit"; + appVersion.queued = '?' ORDER BY ?$sLimit"; else $sQuery = "SELECT appVersion.* FROM appVersion, appMaintainers, appFamily WHERE @@ -1508,7 +1508,7 @@ class version { AND appMaintainers.queued = 'false' AND - appVersion.queued = '?' ORDER BY '?'$sLimit"; + appVersion.queued = '?' ORDER BY ?$sLimit"; if($sLimit) { @@ -1527,7 +1527,7 @@ class version { AND appFamily.queued = 'false' AND - appVersion.queued = '?' ORDER BY '?'$sLimit"; + appVersion.queued = '?' ORDER BY ?$sLimit"; if($sLimit) {