Skip to content

Commit

Permalink
top100 coders fix
Browse files Browse the repository at this point in the history
  • Loading branch information
adnankattekaden authored Nov 8, 2023
1 parent 9aa1492 commit d61a8ab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api/top100_coders/top100_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ def get(self, request):
SELECT
u.first_name,
u.last_name,
u.profile_pic,
SUM(kal.karma) AS total_karma,
org.title AS org,
COALESCE(org.dis, d.name) AS district,
COALESCE(org.dis, d.name) AS dis,
COALESCE(org.state, s.name) AS state,
MAX(kal.created_at) AS time_
FROM karma_activity_log AS kal
Expand Down

0 comments on commit d61a8ab

Please sign in to comment.