mirror of https://github.com/searx/searx
[mod] the browser search always uses the general category
This commit is contained in:
parent
376f15cb1c
commit
4009b9a66d
|
@ -90,11 +90,6 @@ def index():
|
|||
if not category in categories:
|
||||
continue
|
||||
selected_categories.append(category)
|
||||
if not len(selected_categories):
|
||||
cookie_categories = request.cookies.get('categories', '').split(',')
|
||||
for ccateg in cookie_categories:
|
||||
if ccateg in categories:
|
||||
selected_categories.append(ccateg)
|
||||
if not len(selected_categories):
|
||||
selected_categories = ['general']
|
||||
|
||||
|
|
Loading…
Reference in New Issue