summaryrefslogtreecommitdiff
path: root/searx/webadapter.py
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2022-01-03 20:23:46 +0100
committerAlexandre Flament <alex@al-f.net>2022-01-03 20:23:46 +0100
commit41ae5aea2b4c160b619d0887b0e967f9a9a69e73 (patch)
tree7137fd435c04e8b9ee8c69995df8348d9ec7adcf /searx/webadapter.py
parent8e99c11c958cdf6be528a4d0339e955bf8bfd6d7 (diff)
downloadsearxng-41ae5aea2b4c160b619d0887b0e967f9a9a69e73.tar.gz
searxng-41ae5aea2b4c160b619d0887b0e967f9a9a69e73.zip
[fix] disabling all engines in a category makes the bang search in general
with this commit, there is no result
Diffstat (limited to 'searx/webadapter.py')
-rw-r--r--searx/webadapter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/webadapter.py b/searx/webadapter.py
index 4fd18cee9..185cb568e 100644
--- a/searx/webadapter.py
+++ b/searx/webadapter.py
@@ -236,7 +236,7 @@ def get_search_query_from_webapp(
external_bang = raw_text_query.external_bang
engine_data = parse_engine_data(form)
- if not is_locked('categories') and raw_text_query.enginerefs and raw_text_query.specific:
+ if not is_locked('categories') and raw_text_query.specific:
# if engines are calculated from query,
# set categories by using that informations
query_engineref_list = raw_text_query.enginerefs