testData: Fix ordering of test results by id
This commit is contained in:
committed by
Chris Morgan
parent
fcd40be8a4
commit
aa4cdd7a42
@@ -1009,7 +1009,7 @@ class testData{
|
|||||||
AND
|
AND
|
||||||
testResults.submitterId = '?'
|
testResults.submitterId = '?'
|
||||||
AND
|
AND
|
||||||
testResults.queued = '?' ORDER BY '?'$sLimit";
|
testResults.queued = '?' ORDER BY ?$sLimit";
|
||||||
} else
|
} else
|
||||||
{
|
{
|
||||||
$sQuery = "SELECT testResults.* FROM testResults, appVersion,
|
$sQuery = "SELECT testResults.* FROM testResults, appVersion,
|
||||||
@@ -1036,7 +1036,7 @@ class testData{
|
|||||||
AND
|
AND
|
||||||
appMaintainers.queued = 'false'
|
appMaintainers.queued = 'false'
|
||||||
AND
|
AND
|
||||||
testResults.queued = '?' ORDER BY '?'$sLimit";
|
testResults.queued = '?' ORDER BY ?$sLimit";
|
||||||
}
|
}
|
||||||
if($sLimit)
|
if($sLimit)
|
||||||
{
|
{
|
||||||
@@ -1054,7 +1054,7 @@ class testData{
|
|||||||
AND
|
AND
|
||||||
appVersion.queued = 'false'
|
appVersion.queued = 'false'
|
||||||
AND
|
AND
|
||||||
testResults.queued = '?' ORDER by '?'$sLimit";
|
testResults.queued = '?' ORDER by ?$sLimit";
|
||||||
if($sLimit)
|
if($sLimit)
|
||||||
$hResult = query_parameters($sQuery, $sQueued, $sOrderBy, $iStart, $iRows);
|
$hResult = query_parameters($sQuery, $sQueued, $sOrderBy, $iStart, $iRows);
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user