Fix #8047 (Saved Searches not working in Web Browser)

This commit is contained in:
Kovid Goyal 2010-12-24 15:47:56 -07:00
parent a11820ecfd
commit 35bfaab669

View File

@ -556,6 +556,7 @@ class BrowseServer(object):
ids = self.search_cache('search:"%s"'%which) ids = self.search_cache('search:"%s"'%which)
except: except:
raise cherrypy.HTTPError(404, 'Search: %r not understood'%which) raise cherrypy.HTTPError(404, 'Search: %r not understood'%which)
else:
all_ids = self.search_cache('') all_ids = self.search_cache('')
if category == 'newest': if category == 'newest':
ids = all_ids ids = all_ids