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:
parent
51eb6bddf6
commit
ae5ccf6e91
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user