From 90b7d71062ecfc96c136db51f9332aa8053f1dad Mon Sep 17 00:00:00 2001 From: Howl Date: Wed, 28 Sep 2016 18:43:56 +0200 Subject: [PATCH] Increase max users on leaderboard limit to 500 --- app/v1/leaderboard.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/v1/leaderboard.go b/app/v1/leaderboard.go index 340c3bb..8b49671 100644 --- a/app/v1/leaderboard.go +++ b/app/v1/leaderboard.go @@ -39,7 +39,7 @@ func LeaderboardGET(md common.MethodData) common.CodeMessager { // Admins may not want to see banned users on the leaderboard. // This is the default setting. In case they do, they have to activate see_everything. query := fmt.Sprintf(lbUserQuery, m, `WHERE `+md.User.OnlyUserPublic(md.HasQuery("see_everything"))+ - ` ORDER BY leaderboard_`+m+`.position `+common.Paginate(md.Query("p"), md.Query("l"), 100)) + ` ORDER BY leaderboard_`+m+`.position `+common.Paginate(md.Query("p"), md.Query("l"), 500)) rows, err := md.DB.Query(query) if err != nil { md.Err(err)