summaryrefslogtreecommitdiff
path: root/app.py
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2016-06-10 20:40:04 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2016-06-10 20:40:04 +0200
commitae3eb5ff7ab20b4c7033c616fb33d790da83c022 (patch)
tree6018ef8f2f0d6df30fc2762cb37f07b1f42c7d3c /app.py
parent994452c91ee9d1f6eb4aa6bc293e64a09f55c4b9 (diff)
downloadjokevote-ae3eb5ff7ab20b4c7033c616fb33d790da83c022.tar.gz
jokevote-ae3eb5ff7ab20b4c7033c616fb33d790da83c022.zip
paginate filtered results properly
Diffstat (limited to 'app.py')
-rw-r--r--app.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/app.py b/app.py
index 9de83ec..88288da 100644
--- a/app.py
+++ b/app.py
@@ -452,6 +452,7 @@ def page(num):
render_template(
'index.html',
currentpage=num,
+ query=str(request.query_string, 'utf-8'),
tag=search,
perpage=PERPAGE,
jokes=jokes,