fixed month dropdown options in wrong order maybe

This commit is contained in:
Sendou 2020-03-10 19:47:44 +02:00
parent 794022199e
commit 9cbb20fb56

View File

@ -327,7 +327,7 @@ const resolvers = {
return Summary.find(searchCriteria)
.populate("discord_user")
.sort({ "score.total": "desc", year: "desc", month: "desc" })
.sort({ year: "desc", month: "desc", "score.total": "desc" })
},
},
Mutation: {