Skip to content

Commit

Permalink
fixes #5566
Browse files Browse the repository at this point in the history
  • Loading branch information
owocki committed Dec 1, 2019
1 parent 5b1f583 commit 416bac2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/retail/emails.py
Original file line number Diff line number Diff line change
Expand Up @@ -1049,7 +1049,7 @@ def render_new_bounty_roundup(to_email):

for key, __ in leaderboard.items():
leaderboard[key]['items'] = LeaderboardRank.objects.active() \
.filter(leaderboard=key).order_by('rank')[0:num_leadboard_items]
.filter(leaderboard=key, product='all').order_by('rank')[0:num_leadboard_items]
if not len(leaderboard['quarterly_payers']['items']):
leaderboard = []

Expand Down

0 comments on commit 416bac2

Please sign in to comment.