Commit a10a14c2 authored by Carina Antunes's avatar Carina Antunes
Browse files

search: fix typo

parent 6669c9eb
......@@ -117,7 +117,7 @@ def search_factory(self, search: RecordCERNSearch, query_parser=None):
highlights = request.args.getlist('highlight', None)
if highlights:
fragment_size = request.args.getlist('fragment_size', 100)
fragment_size = request.args.get('fragment_size', 100)
search = search.highlight(*highlights, fragment_size=fragment_size)
explain = request.args.get('explain', None)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment