[mod] the browser search always uses the general category

This commit is contained in:
dalf 2013-12-31 12:54:48 +01:00
parent 376f15cb1c
commit 4009b9a66d

View File

@ -90,11 +90,6 @@ def index():
if not category in categories: if not category in categories:
continue continue
selected_categories.append(category) 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): if not len(selected_categories):
selected_categories = ['general'] selected_categories = ['general']