Only show accepted versions on the front page

This commit is contained in:
Alexander Nicolaysen Sørnes
2008-05-12 21:44:07 +02:00
committed by Chris Morgan
parent 2989bdb160
commit 80fd412592

View File

@@ -304,6 +304,7 @@ function outputTopXRowAppsFromRating($sRating, $iNumApps)
FROM appVotes, appVersion
WHERE appVersion.rating = '?'
AND appVersion.versionId = appVotes.versionId
AND appVersion.state = 'accepted'
GROUP BY appVotes.versionId
ORDER BY c DESC
LIMIT ?";