label: remember filters

This commit is contained in:
Martijn Voncken 2008-07-12 11:26:47 +00:00
parent 32e2e37277
commit 7517bf89b7
1 changed files with 2 additions and 1 deletions

View File

@ -177,7 +177,8 @@ def ftime(val):
def template_get(key):
val = getattr(web.input(**{key:None}), key)
if not val:
return getcookie(key)
val = getcookie(key)
return val
template.Template.globals.update({
'sort_head': template_sort_head,