mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 18:54:09 -04:00
Advanced search dialog: Fix equals and regex matching not being applied for custom column searches. Fixes #980221 ("Tags" field in advanced search does not obey regex setting)
This commit is contained in:
parent
220a4d8cb9
commit
94440f3fc6
@ -182,7 +182,8 @@ class SearchDialog(QDialog, Ui_Dialog):
|
||||
global box_values
|
||||
box_values = copy.deepcopy(self.box_last_values)
|
||||
if general:
|
||||
ans.append(unicode(self.general_combo.currentText()) + ':"' + general + '"')
|
||||
ans.append(unicode(self.general_combo.currentText()) + ':"' +
|
||||
self.mc + general + '"')
|
||||
if ans:
|
||||
return ' and '.join(ans)
|
||||
return ''
|
||||
|
Loading…
x
Reference in New Issue
Block a user