aboutsummaryrefslogtreecommitdiffstats
path: root/fatcat_scholar
diff options
context:
space:
mode:
Diffstat (limited to 'fatcat_scholar')
-rw-r--r--fatcat_scholar/search.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/fatcat_scholar/search.py b/fatcat_scholar/search.py
index b9ede1d..f5056c7 100644
--- a/fatcat_scholar/search.py
+++ b/fatcat_scholar/search.py
@@ -338,7 +338,10 @@ def do_fulltext_search(
# simplified version of basic_fulltext query, for highlighting
highlight_query = Q(
- "query_string", query=query.parsed_q or query.q, default_operator="AND", lenient=True,
+ "query_string",
+ query=query.parsed_q or query.q,
+ default_operator="AND",
+ lenient=True,
)
search = search.highlight(
"abstracts.body",