Fix query to group by user_name

Bug: T211037
Follow-Up: Ia395f904d12d96e0d8bf0c1b2a5f638639b3ab12
Change-Id: I4a7c769d9457fc0d845ad8c45f4378018a59addb
This commit is contained in:
MusikAnimal 2020-05-10 20:49:46 -04:00
parent d5dca87239
commit 82788a63ed

View file

@ -127,6 +127,7 @@ class ContributionScores extends IncludableSpecialPage {
__METHOD__, __METHOD__,
[ [
'ORDER BY' => 'wiki_rank DESC', 'ORDER BY' => 'wiki_rank DESC',
'GROUP BY' => 'user_name',
'LIMIT' => $limit, 'LIMIT' => $limit,
], ],
[ [