diff --git a/CTFd/admin/submissions.py b/CTFd/admin/submissions.py index f0b7dc6..5a2a5d1 100644 --- a/CTFd/admin/submissions.py +++ b/CTFd/admin/submissions.py @@ -54,10 +54,16 @@ def submissions_listing(submission_type): "admin/submissions.html", submissions=submissions, prev_page=url_for( - request.endpoint, submission_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, submission_type=submission_type, page=submissions.next_num, **args + request.endpoint, + submission_type=submission_type, + page=submissions.next_num, + **args ), type=submission_type, q=q,