mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-24 09:45:09 +01:00
Enhancement #1933989: search the booklist using exact match in the manage authors dialog
This commit is contained in:
parent
1ba7e41464
commit
cac555c99f
1 changed files with 2 additions and 1 deletions
|
|
@ -338,7 +338,8 @@ def undo_cell(self, old_value):
|
|||
def search_in_book_list(self):
|
||||
from calibre.gui2.ui import get_gui
|
||||
row = self.context_item.row()
|
||||
get_gui().search.set_search_string(self.table.item(row, 0).text())
|
||||
get_gui().search.set_search_string('authors:="%s"' %
|
||||
unicode_type(self.table.item(row, 0).text()).replace(r'"', r'\"'))
|
||||
|
||||
def copy_to_clipboard(self):
|
||||
cb = QApplication.clipboard()
|
||||
|
|
|
|||
Loading…
Reference in a new issue