193 sql fix

This commit is contained in:
Ivan Grishaev 2018-02-08 15:29:26 +03:00
parent c66691ca23
commit 56d1425b17

View File

@ -577,7 +577,7 @@ WHERE
pr.commit_sha = i.commit_sha pr.commit_sha = i.commit_sha
AND u.id = pr.user_id AND u.id = pr.user_id
AND i.payout_receipt IS NOT NULL AND i.payout_receipt IS NOT NULL
AND NOT u.is_hidden AND NOT u.is_hidden_in_hunters
GROUP BY u.id GROUP BY u.id
ORDER BY total_usd DESC ORDER BY total_usd DESC
LIMIT 5; LIMIT 5;