修复比赛所有提交翻页 bug

This commit is contained in:
virusdefender
2015-10-25 11:35:45 +08:00
parent fb892e6ab6
commit 30bfe5bef2
2 changed files with 3 additions and 3 deletions

View File

@@ -537,4 +537,4 @@ def contest_problem_submissions_list_page(request, contest_id, page=1):
return render(request, "oj/contest/submissions_list.html",
{"submissions": current_page, "page": int(page),
"previous_page": previous_page, "next_page": next_page, "start_id": int(page) * 20 - 20,
"contest": contest, "filter": filter, "user_id": user_id})
"contest": contest, "filter": filter, "user_id": user_id, "problem_id": problem_id})