Module: appdb Branch: master Commit: aa4cdd7a42db444ae9e11ee3cc25fb537a46103e URL: http://source.winehq.org/git/appdb.git/?a=commit;h=aa4cdd7a42db444ae9e11ee3c...
Author: Alexander Nicolaysen Sørnes alex@thehandofagony.com Date: Thu Oct 25 00:04:30 2007 +0200
testData: Fix ordering of test results by id
---
include/testData.php | 6 +++--- 1 files 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