1
0
mirror of https://github.com/krateng/maloja.git synced 2023-08-10 21:12:55 +03:00

Switching time range or similar now resets to first page

This commit is contained in:
Krateng 2019-07-25 17:35:03 +02:00
parent 40573ba4f7
commit 6818a976a5

View File

@ -574,6 +574,7 @@ def module_filterselection(keys,time=True,delimit=False):
# drop keys that are not relevant so they don't clutter the URI
if not time: timekeys = {}
if not delimit: delimitkeys = {}
if "page" in extrakeys: del extrakeys["page"]
internalkeys = {**filterkeys,**timekeys,**delimitkeys,**extrakeys}
html = ""