Improve search forms

This commit is contained in:
2022-08-03 07:20:30 +01:00
parent 716bd6afb6
commit 9442e92b31
8 changed files with 85 additions and 84 deletions

View File

@@ -123,7 +123,7 @@ def run_main_query(client, user, query, custom_query=False, index=None, size=Non
search_query = construct_query(query, size)
try:
response = client.search(body=search_query, index=index)
except RequestError as err:
except RequestError:
return False
filter_blacklisted(user, response)
return response