mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 21:34:56 +02:00
Ensure restrictions with spaces in the name work in content server.
This commit is contained in:
parent
367a7bbe57
commit
2464da207e
1 changed files with 1 additions and 1 deletions
|
|
@ -104,7 +104,7 @@ def __init__(self, db, opts, embedded=False, show_tracebacks=True):
|
|||
|
||||
def set_search_restriction(self, restriction):
|
||||
if restriction:
|
||||
self.search_restriction = 'search:'+restriction
|
||||
self.search_restriction = 'search:"%s"'%restriction
|
||||
else:
|
||||
self.search_restriction = ''
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue