Light speedup on scores/recent

This commit is contained in:
Howl 2016-10-29 17:07:29 +02:00
parent b9d4683092
commit 9de913888d

View File

@ -69,7 +69,7 @@ func UserScoresRecentGET(md common.MethodData) common.CodeMessager {
%s %s
%s %s
AND `+md.User.OnlyUserPublic(true)+` AND `+md.User.OnlyUserPublic(true)+`
ORDER BY scores.time DESC %s`, ORDER BY scores.id DESC %s`,
wc, genModeClause(md), common.Paginate(md.Query("p"), md.Query("l"), 100), wc, genModeClause(md), common.Paginate(md.Query("p"), md.Query("l"), 100),
), param) ), param)
} }