From c6305dea8a37583d79c33388244bc5209fdd598b Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Fri, 30 Apr 2021 15:04:54 -0700 Subject: web: don't clobber user input query when parsing This is intended to be a UX improvement, to avoid adding double quotes around the query a user has pasted in. This does make the "parsing" behavior less transparent. --- fatcat_scholar/templates/base.html | 3 +++ 1 file changed, 3 insertions(+) (limited to 'fatcat_scholar/templates/base.html') diff --git a/fatcat_scholar/templates/base.html b/fatcat_scholar/templates/base.html index acdf15c..51af546 100644 --- a/fatcat_scholar/templates/base.html +++ b/fatcat_scholar/templates/base.html @@ -125,6 +125,9 @@
+ {% if query and query.parsed_q %} + + {% endif %}
-- cgit v1.2.3