forked from zaclys/searxng
[fix] disabling all engines in a category makes the bang search in general
with this commit, there is no result
This commit is contained in:
parent
8e99c11c95
commit
41ae5aea2b
|
@ -236,7 +236,7 @@ def get_search_query_from_webapp(
|
||||||
external_bang = raw_text_query.external_bang
|
external_bang = raw_text_query.external_bang
|
||||||
engine_data = parse_engine_data(form)
|
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,
|
# if engines are calculated from query,
|
||||||
# set categories by using that informations
|
# set categories by using that informations
|
||||||
query_engineref_list = raw_text_query.enginerefs
|
query_engineref_list = raw_text_query.enginerefs
|
||||||
|
|
Loading…
Reference in New Issue