mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Merge pull request #74 from cbhaley/master
Change quickview to not sort search results.
This commit is contained in:
commit
e7c146d3cb
@ -215,7 +215,8 @@ class Quickview(QDialog, Ui_Quickview):
|
||||
sv = selected_item
|
||||
sv = sv.replace('"', r'\"')
|
||||
self.last_search = self.current_key+':"=' + sv + '"'
|
||||
books = self.db.search(self.last_search, return_matches=True)
|
||||
books = self.db.search(self.last_search, return_matches=True,
|
||||
sort_results=False)
|
||||
|
||||
self.books_table.setRowCount(len(books))
|
||||
self.books_label.setText(_('Books with selected item "{0}": {1}').
|
||||
|
Loading…
x
Reference in New Issue
Block a user