mirror of
https://git.deluge-torrent.org/deluge
synced 2025-09-18 15:51:57 +00:00
label: remember filters
This commit is contained in:
parent
32e2e37277
commit
7517bf89b7
1 changed files with 2 additions and 1 deletions
|
@ -177,7 +177,8 @@ def ftime(val):
|
||||||
def template_get(key):
|
def template_get(key):
|
||||||
val = getattr(web.input(**{key:None}), key)
|
val = getattr(web.input(**{key:None}), key)
|
||||||
if not val:
|
if not val:
|
||||||
return getcookie(key)
|
val = getcookie(key)
|
||||||
|
return val
|
||||||
|
|
||||||
template.Template.globals.update({
|
template.Template.globals.update({
|
||||||
'sort_head': template_sort_head,
|
'sort_head': template_sort_head,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue