diff --git a/CTFd/admin/submissions.py b/CTFd/admin/submissions.py index 19e08e8..f0b7dc6 100644 --- a/CTFd/admin/submissions.py +++ b/CTFd/admin/submissions.py @@ -54,10 +54,10 @@ def submissions_listing(submission_type): "admin/submissions.html", submissions=submissions, prev_page=url_for( - request.endpoint, type=submission_type, page=submissions.prev_num, **args + request.endpoint, submission_type=submission_type, page=submissions.prev_num, **args ), next_page=url_for( - request.endpoint, type=submission_type, page=submissions.next_num, **args + request.endpoint, submission_type=submission_type, page=submissions.next_num, **args ), type=submission_type, q=q,