Consider phases when showing a leaderboard

This commit is contained in:
Filip Gralinski 2021-09-25 21:21:24 +02:00
parent 32d00b5ec3
commit b8419f3744

View File

@ -447,7 +447,8 @@ getLeaderboardEntries maxPriority BySubmitter challengeId =
challengeId
(const True)
onlyTheBestVariant
(\entry -> [entityKey $ tableEntrySubmitter entry])
(\entry -> [(entityKey $ tableEntrySubmitter entry,
tagName <$> (snd $ tableEntryVersion entry))])
getLeaderboardEntries maxPriority ByTag challengeId =
getLeaderboardEntriesByCriterion maxPriority
challengeId