mirror of https://github.com/JohnHammond/CTFd.git
Fix url_for for admin panel submission pagination
parent
dcfa02877d
commit
73e387524a
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue