Ensure restrictions with spaces in the name work in content server.

This commit is contained in:
Charles Haley 2010-08-18 06:58:08 +01:00
parent 367a7bbe57
commit 2464da207e

View File

@ -104,7 +104,7 @@ class LibraryServer(ContentServer, MobileServer, XMLServer, OPDSServer, Cache):
def set_search_restriction(self, restriction):
if restriction:
self.search_restriction = 'search:'+restriction
self.search_restriction = 'search:"%s"'%restriction
else:
self.search_restriction = ''