Add lazy loading img and fix friend ranking
This commit is contained in:
parent
4a2bc46206
commit
86815fb460
10 changed files with 11 additions and 11 deletions
|
@ -1018,7 +1018,7 @@ def base_contest_ranking_list(contest, problems, queryset, show_final=False):
|
|||
|
||||
|
||||
def contest_ranking_list(contest, problems, queryset=None, show_final=False):
|
||||
if not queryset:
|
||||
if queryset is None:
|
||||
queryset = contest.users.filter(virtual=0)
|
||||
|
||||
if not show_final:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue