Application view should list the number of test results for each version, this lets the appdb
user see which versions have the most feedback
This commit is contained in:
@@ -777,6 +777,21 @@ class testData{
|
||||
return $sReturn;
|
||||
}
|
||||
|
||||
// return the number of test data entries for a particular version id
|
||||
function get_testdata_count_for_versionid($iVersionId)
|
||||
{
|
||||
$sQuery = "SELECT count(*) as cnt
|
||||
FROM testResults
|
||||
WHERE versionId = '?'
|
||||
AND
|
||||
queued = '?';";
|
||||
|
||||
$hResult = query_parameters($sQuery, $iVersionId, 'false');
|
||||
|
||||
$oRow = mysql_fetch_object($hResult);
|
||||
return $oRow->cnt;
|
||||
}
|
||||
|
||||
function objectGetEntriesCount($bQueued, $bRejected)
|
||||
{
|
||||
$oTest = new testData();
|
||||
|
||||
Reference in New Issue
Block a user