Search results were listing a number of versions that was counting versions that were still in the queue to be processed by appdb admins. Exclude queued versions from the count.
This commit is contained in:
@@ -519,7 +519,7 @@ function outputSearchTableForhResult($search_words, $hResult)
|
|||||||
$bgcolor = ($c % 2) ? 'color0' : 'color1';
|
$bgcolor = ($c % 2) ? 'color0' : 'color1';
|
||||||
|
|
||||||
//count versions
|
//count versions
|
||||||
$query = query_appdb("SELECT count(*) as versions FROM appVersion WHERE appId = $ob->appId AND versionName != 'NONAME'");
|
$query = query_appdb("SELECT count(*) as versions FROM appVersion WHERE appId = $ob->appId AND versionName != 'NONAME' and queued = 'false'");
|
||||||
$y = mysql_fetch_object($query);
|
$y = mysql_fetch_object($query);
|
||||||
|
|
||||||
//display row
|
//display row
|
||||||
|
|||||||
Reference in New Issue
Block a user