fix pagination jinja custom function

This commit is contained in:
Chris Arderne 2024-04-03 13:12:31 +01:00
parent 51eb6bddf6
commit ae5ccf6e91
1 changed files with 2 additions and 0 deletions

View File

@ -44,6 +44,8 @@ def url_for_other_page(page):
args = request.view_args.copy()
args['page'] = page
for get, val in request.args.items():
if get == "page":
continue
args[get] = val
return url_for(request.endpoint, **args)