forked from zaclys/searxng
[fix] engine setting if no categories specified
This commit is contained in:
parent
e58949b76f
commit
cf5c7d050a
@ -258,7 +258,7 @@ def get_search_query_from_webapp(preferences, form):
|
|||||||
if not load_default_categories:
|
if not load_default_categories:
|
||||||
if not query_categories:
|
if not query_categories:
|
||||||
query_categories = list(set(engine['category']
|
query_categories = list(set(engine['category']
|
||||||
for engine in engines))
|
for engine in query_engines))
|
||||||
else:
|
else:
|
||||||
# if no category is specified for this search,
|
# if no category is specified for this search,
|
||||||
# using user-defined default-configuration which
|
# using user-defined default-configuration which
|
||||||
|
Loading…
Reference in New Issue
Block a user