From ae3eb5ff7ab20b4c7033c616fb33d790da83c022 Mon Sep 17 00:00:00 2001 From: schneefux Date: Fri, 10 Jun 2016 20:40:04 +0200 Subject: paginate filtered results properly --- app.py | 1 + 1 file changed, 1 insertion(+) (limited to 'app.py') 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, -- cgit v1.3.1