Top 10 list, query for data type 'screenshot', not 'image'

This commit is contained in:
Alexander Nicolaysen Sørnes
2007-03-11 20:05:40 +00:00
committed by WineHQ
parent e9060a68d5
commit 9bba0ecd65

View File

@@ -295,7 +295,7 @@ function outputTopXRowAppsFromRating($sRating, $iNumApps)
FROM appVersion, appData
WHERE appVersion.maintainer_rating = '$sRating'
AND appVersion.versionId = appData.versionId
AND appData.type = 'image'
AND appData.type = 'screenshot'
AND appData.queued = 'false'";
/* make sure we exclude any apps we've already output */