mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 18:54:09 -04:00
...
This commit is contained in:
parent
ed7bf95ed5
commit
e1bc54a782
@ -1175,6 +1175,7 @@ class TagsModel(QAbstractItemModel): # {{{
|
|||||||
k = 'author_sort' if key == 'authors' else key
|
k = 'author_sort' if key == 'authors' else key
|
||||||
letters_seen = {}
|
letters_seen = {}
|
||||||
for subnode in tag_item.children:
|
for subnode in tag_item.children:
|
||||||
|
if subnode.tag.sort:
|
||||||
letters_seen[subnode.tag.sort[0]] = True
|
letters_seen[subnode.tag.sort[0]] = True
|
||||||
charclass = ''.join(letters_seen)
|
charclass = ''.join(letters_seen)
|
||||||
if k == 'author_sort':
|
if k == 'author_sort':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user