aboutsummaryrefslogtreecommitdiffstats
path: root/fatcat_covid19/webface.py
diff options
context:
space:
mode:
Diffstat (limited to 'fatcat_covid19/webface.py')
-rw-r--r--fatcat_covid19/webface.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/fatcat_covid19/webface.py b/fatcat_covid19/webface.py
index aa604df..8db807b 100644
--- a/fatcat_covid19/webface.py
+++ b/fatcat_covid19/webface.py
@@ -83,8 +83,8 @@ def page_home():
def fulltext_search():
query = request.args.get('q')
- filter_type = request.args.get('filter_type') or None
- filter_time = request.args.get('filter_time') or None
+ filter_type = request.args.get('filter_type') or 'papers'
+ filter_time = request.args.get('filter_time') or 'all_time'
offset = request.args.get('offset', '0')
offset = max(0, int(offset)) if offset.isnumeric() else 0