mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-27 02:03:24 +02:00
Store: chooser, fix sorting by drm.
This commit is contained in:
parent
d39a8d0dd3
commit
7b98249b90
1 changed files with 1 additions and 1 deletions
|
|
@ -130,7 +130,7 @@ def data_as_text(self, match, col):
|
|||
elif col == 1:
|
||||
text = match.name
|
||||
elif col == 2:
|
||||
text = 'b' if getattr(match, 'drm', True) else 'a'
|
||||
text = 'a' if getattr(match, 'drm_free_only', True) else 'b'
|
||||
elif col == 3:
|
||||
text = getattr(match, 'headquarters', '')
|
||||
return text
|
||||
|
|
|
|||
Loading…
Reference in a new issue