[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
1 changed files with 0 additions and 5 deletions

View File

@ -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']