mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #980221 ("Tags" field in advanced search does not obey regex setting)
This commit is contained in:
parent
24925ddbf9
commit
5f12af7e1d
@ -173,7 +173,7 @@ class SearchDialog(QDialog, Ui_Dialog):
|
||||
self.box_last_values['tags_box'] = tags
|
||||
tags = [t.strip() for t in tags.split(',') if t.strip()]
|
||||
if tags:
|
||||
tags = ['tags:"=' + t + '"' for t in tags]
|
||||
tags = ['tags:"' + self.mc + t + '"' for t in tags]
|
||||
ans.append('(' + ' or '.join(tags) + ')')
|
||||
general = unicode(self.general_box.text())
|
||||
self.box_last_values['general_box'] = general
|
||||
|
Loading…
x
Reference in New Issue
Block a user