From 9de913888daa248cf22c65a6ed00978c752acf97 Mon Sep 17 00:00:00 2001 From: Howl Date: Sat, 29 Oct 2016 17:07:29 +0200 Subject: [PATCH] Light speedup on scores/recent --- app/v1/user_scores.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/v1/user_scores.go b/app/v1/user_scores.go index 316b26c..04166d2 100644 --- a/app/v1/user_scores.go +++ b/app/v1/user_scores.go @@ -69,7 +69,7 @@ func UserScoresRecentGET(md common.MethodData) common.CodeMessager { %s %s 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), ), param) }