Fix #6551. Searches in opds mode did not prefix the name with search:, so the results were quite random.

This commit is contained in:
Charles Haley 2010-08-18 23:12:19 +01:00
parent 27fe778e0f
commit d082937773

View File

@ -518,7 +518,7 @@ class OPDSServer(object):
if category == 'search':
try:
ids = self.search_cache(which)
ids = self.search_cache('search:"%s"'%which)
except:
raise cherrypy.HTTPError(404, 'Search: %r not understood'%which)
return self.get_opds_acquisition_feed(ids, offset, page_url,