diff --git a/.dockerignore b/.dockerignore index 29dee53..1329aef 100644 --- a/.dockerignore +++ b/.dockerignore @@ -12,3 +12,4 @@ CTFd/uploads/**/* .gitignore .prettierignore .travis.yml +node_modules diff --git a/CTFd/admin/submissions.py b/CTFd/admin/submissions.py index 19e08e8..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, 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,