Remove time from sorting in score

This commit is contained in:
Howl 2016-10-29 14:27:55 +02:00
parent 10c61cec02
commit b9d4683092

View File

@ -66,7 +66,7 @@ func ScoresGET(md common.MethodData) common.CodeMessager {
sort := common.Sort(md, common.SortConfiguration{
Default: "scores.pp DESC, scores.score DESC",
Table: "scores",
Allowed: []string{"pp", "score", "accuracy", "time", "id"},
Allowed: []string{"pp", "score", "accuracy", "id"},
})
rows, err := md.DB.Query(`