mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 17:24:20 +02:00
EPUB/MOBI Catalogs: Fix exclusion by tag not working for tags that have spaces in them
This commit is contained in:
parent
c1bd466d07
commit
469b633e7e
1 changed files with 1 additions and 1 deletions
|
|
@ -1021,7 +1021,7 @@ def _populate_title(record):
|
|||
if self.excluded_tags:
|
||||
search_terms = []
|
||||
for tag in self.excluded_tags:
|
||||
search_terms.append("tag:=%s" % tag)
|
||||
search_terms.append('tags:"=%s"' % tag)
|
||||
search_phrase = "not (%s)" % " or ".join(search_terms)
|
||||
|
||||
# If a list of ids are provided, don't use search_text
|
||||
|
|
|
|||
Loading…
Reference in a new issue