summaryrefslogtreecommitdiffstats
path: root/fatcat_scholar
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2021-05-17 21:04:42 -0700
committerBryan Newbold <bnewbold@archive.org>2021-05-17 21:04:42 -0700
commit84412e78ee7187a1be36a9058284084c231a0357 (patch)
treead738f1548e0664202f94f8dfd9c31ec05329a06 /fatcat_scholar
parentf767a344c1ed7722b79710c6f3c61d5802f78860 (diff)
downloadfatcat-scholar-84412e78ee7187a1be36a9058284084c231a0357.tar.gz
fatcat-scholar-84412e78ee7187a1be36a9058284084c231a0357.zip
make fmt
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",