Only show accepted versions on the front page
This commit is contained in:
committed by
Chris Morgan
parent
2989bdb160
commit
80fd412592
@@ -304,6 +304,7 @@ function outputTopXRowAppsFromRating($sRating, $iNumApps)
|
|||||||
FROM appVotes, appVersion
|
FROM appVotes, appVersion
|
||||||
WHERE appVersion.rating = '?'
|
WHERE appVersion.rating = '?'
|
||||||
AND appVersion.versionId = appVotes.versionId
|
AND appVersion.versionId = appVotes.versionId
|
||||||
|
AND appVersion.state = 'accepted'
|
||||||
GROUP BY appVotes.versionId
|
GROUP BY appVotes.versionId
|
||||||
ORDER BY c DESC
|
ORDER BY c DESC
|
||||||
LIMIT ?";
|
LIMIT ?";
|
||||||
|
|||||||
Reference in New Issue
Block a user