mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
fix headquarters in chooser
This commit is contained in:
parent
df81def0cf
commit
75782ed4f2
@ -132,7 +132,7 @@ class Matches(QAbstractItemModel):
|
|||||||
elif col == 2:
|
elif col == 2:
|
||||||
text = 'b' if match.drm else 'a'
|
text = 'b' if match.drm else 'a'
|
||||||
elif col == 3:
|
elif col == 3:
|
||||||
text = match.headquarteres
|
text = match.headquarters
|
||||||
return text
|
return text
|
||||||
|
|
||||||
def sort(self, col, order, reset=True):
|
def sort(self, col, order, reset=True):
|
||||||
@ -241,4 +241,4 @@ class SearchFilter(SearchQueryParser):
|
|||||||
traceback.print_exc()
|
traceback.print_exc()
|
||||||
return matches
|
return matches
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user