Run formatter

fix-submission-type-pagination
Kevin Chung 2020-05-05 16:44:31 -04:00
parent 73e387524a
commit 197cfc3cf2
1 changed files with 8 additions and 2 deletions

View File

@ -54,10 +54,16 @@ def submissions_listing(submission_type):
"admin/submissions.html", "admin/submissions.html",
submissions=submissions, submissions=submissions,
prev_page=url_for( 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( 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, type=submission_type,
q=q, q=q,