From aa4cdd7a42db444ae9e11ee3cc25fb537a46103e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20Nicolaysen=20S=C3=B8rnes?= Date: Thu, 25 Oct 2007 00:04:30 +0200 Subject: [PATCH] testData: Fix ordering of test results by id --- include/testData.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/testData.php b/include/testData.php index 03b56f2..03bd92d 100644 --- a/include/testData.php +++ b/include/testData.php @@ -1009,7 +1009,7 @@ class testData{ AND testResults.submitterId = '?' AND - testResults.queued = '?' ORDER BY '?'$sLimit"; + testResults.queued = '?' ORDER BY ?$sLimit"; } else { $sQuery = "SELECT testResults.* FROM testResults, appVersion, @@ -1036,7 +1036,7 @@ class testData{ AND appMaintainers.queued = 'false' AND - testResults.queued = '?' ORDER BY '?'$sLimit"; + testResults.queued = '?' ORDER BY ?$sLimit"; } if($sLimit) { @@ -1054,7 +1054,7 @@ class testData{ AND appVersion.queued = 'false' AND - testResults.queued = '?' ORDER by '?'$sLimit"; + testResults.queued = '?' ORDER by ?$sLimit"; if($sLimit) $hResult = query_parameters($sQuery, $sQueued, $sOrderBy, $iStart, $iRows); else