From d082937773295609f7e851754e92f7bef4ad7ed6 Mon Sep 17 00:00:00 2001 From: Charles Haley <> Date: Wed, 18 Aug 2010 23:12:19 +0100 Subject: [PATCH] Fix #6551. Searches in opds mode did not prefix the name with search:, so the results were quite random. --- src/calibre/library/server/opds.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/library/server/opds.py b/src/calibre/library/server/opds.py index e1cbb79599..fce4e32c51 100644 --- a/src/calibre/library/server/opds.py +++ b/src/calibre/library/server/opds.py @@ -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,