From 2a3172850e443438a7d5fb5ea7b7e54bf7ff6477 Mon Sep 17 00:00:00 2001 From: Heiko Joerg Schick Date: Tue, 12 Sep 2023 14:56:12 +0200 Subject: [PATCH] Minor changes in category handling --- serve.py | 2 +- templates/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/serve.py b/serve.py index 66a0839..550b3f4 100644 --- a/serve.py +++ b/serve.py @@ -215,7 +215,7 @@ def main(): opt_q = request.args.get('q', '') # search request in the text box opt_tags = request.args.get('tags', default_tags) # tags to rank by if opt_rank == 'tag' opt_pid = request.args.get('pid', '') # pid to find nearest neighbors to - opt_category_filter = request.args.get('category', '') # primary category to filter + opt_category_filter = request.args.get('category_filter', '') # primary category to filter opt_time_filter = request.args.get('time_filter', default_time_filter) # number of days to filter by opt_skip_have = request.args.get('skip_have', default_skip_have) # hide papers we already have? opt_svm_c = request.args.get('svm_c', '') # svm C parameter diff --git a/templates/index.html b/templates/index.html index b941c75..56facda 100644 --- a/templates/index.html +++ b/templates/index.html @@ -56,7 +56,7 @@ var move_page = function(int_offset) { - +