diff --git a/files/routes/search.py b/files/routes/search.py index 0629d7d8e..085169784 100644 --- a/files/routes/search.py +++ b/files/routes/search.py @@ -186,7 +186,7 @@ def searchcomments(v): except: page = 1 sort = request.values.get("sort", "new").lower() - t = "day" + t = request.values.get('t', 'day').lower() criteria=searchparse(query)