Search was returning queued apps if they contained keywords

This commit is contained in:
Jonathan Ernst
2005-02-23 00:14:56 +00:00
committed by WineHQ
parent 52cb9f9344
commit b25acec277

View File

@@ -14,8 +14,8 @@ $sQuery = "SELECT *
FROM appFamily
WHERE appName != 'NONAME'
AND queued = 'false'
AND appName LIKE '%".addslashes($_REQUEST['q'])."%'
OR keywords LIKE '%".addslashes($_REQUEST['q'])."%'
AND (appName LIKE '%".addslashes($_REQUEST['q'])."%'
OR keywords LIKE '%".addslashes($_REQUEST['q'])."%')
ORDER BY appName";
$hResult = query_appdb($sQuery);