mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Ensure restrictions with spaces in the name work in content server.
This commit is contained in:
parent
367a7bbe57
commit
2464da207e
@ -104,7 +104,7 @@ class LibraryServer(ContentServer, MobileServer, XMLServer, OPDSServer, Cache):
|
|||||||
|
|
||||||
def set_search_restriction(self, restriction):
|
def set_search_restriction(self, restriction):
|
||||||
if restriction:
|
if restriction:
|
||||||
self.search_restriction = 'search:'+restriction
|
self.search_restriction = 'search:"%s"'%restriction
|
||||||
else:
|
else:
|
||||||
self.search_restriction = ''
|
self.search_restriction = ''
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user