1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-11-15 22:34:56 +00:00

fix pagination jinja custom function

This commit is contained in:
Chris Arderne 2024-04-03 13:12:31 +01:00
parent 51eb6bddf6
commit ae5ccf6e91

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)