Fix display of latest testData to exclude queued entries
This commit is contained in:
committed by
WineHQ
parent
2de363c2d7
commit
c494af3eb5
@@ -468,7 +468,10 @@ class testData{
|
||||
/* retrieve the latest test result for a given version id */
|
||||
function get_test_for_versionid($iVersionId)
|
||||
{
|
||||
$sQuery = "SELECT testingId from testResults where versionId = '?'
|
||||
$sQuery = "SELECT testingId FROM testResults WHERE
|
||||
versionId = '?'
|
||||
AND
|
||||
queued = 'false'
|
||||
ORDER BY testedDate DESC limit 1";
|
||||
$hResult = query_parameters($sQuery, $iVersionId);
|
||||
if(!$hResult)
|
||||
|
||||
Reference in New Issue
Block a user