From 08fc4fe0536ebbf770c05fa12cc7fbcfe397d59a Mon Sep 17 00:00:00 2001 From: AndrewVSutherland Date: Fri, 13 Oct 2023 16:14:58 -0400 Subject: [PATCH] handle empty jump box in modcurves --- lmfdb/modular_curves/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lmfdb/modular_curves/main.py b/lmfdb/modular_curves/main.py index 487ea10831..760849d92a 100644 --- a/lmfdb/modular_curves/main.py +++ b/lmfdb/modular_curves/main.py @@ -88,7 +88,7 @@ def index(): @modcurve_page.route("/Q/") def index_Q(): info = to_dict(request.args, search_array=ModCurveSearchArray()) - if len(info) > 1: + if request.args: return modcurve_search(info) title = r"Modular curves over $\Q$" info["level_list"] = ["1-4", "5-8", "9-12", "13-16", "17-23", "24-"]