Skip to content

Commit

Permalink
don't include people with zero scores in api lb
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonLovesDoggo committed Apr 15, 2024
1 parent 9fbf309 commit 92d4295
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gameserver/api/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ def ctftime_standings(request, contest_name: str):
),
lastAccept=Max("participation__submission__submission__date_created"),
)
.filter(score__gt=0)
.values("pos", "score", "team", "lastAccept")
)
task_names = (
Expand Down

0 comments on commit 92d4295

Please sign in to comment.