From 691a199bd1aaad31a0fa8dbfe34e1259cce896fe Mon Sep 17 00:00:00 2001 From: Lukas Middendorf Date: Sun, 14 Aug 2005 17:27:08 +0000 Subject: [PATCH] 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. --- include/util.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/util.php b/include/util.php index 5f54c1b..2b6fb32 100644 --- a/include/util.php +++ b/include/util.php @@ -519,7 +519,7 @@ function outputSearchTableForhResult($search_words, $hResult) $bgcolor = ($c % 2) ? 'color0' : 'color1'; //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); //display row