mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
Fix #1069835 (Alphabetical wrong for accented character)
This commit is contained in:
commit
0d532dd522
@ -415,10 +415,10 @@ class TagsModel(QAbstractItemModel): # {{{
|
|||||||
if not tag.sort:
|
if not tag.sort:
|
||||||
c = ' '
|
c = ' '
|
||||||
else:
|
else:
|
||||||
c = tag.sort
|
c = icu_upper(tag.sort)
|
||||||
ordnum, ordlen = collation_order(c)
|
ordnum, ordlen = collation_order(c)
|
||||||
if last_ordnum != ordnum:
|
if last_ordnum != ordnum:
|
||||||
last_c = icu_upper(c[0:ordlen])
|
last_c = c[0:ordlen]
|
||||||
last_ordnum = ordnum
|
last_ordnum = ordnum
|
||||||
cl_list[idx] = last_c
|
cl_list[idx] = last_c
|
||||||
top_level_component = 'z' + data[key][0].original_name
|
top_level_component = 'z' + data[key][0].original_name
|
||||||
|
Loading…
x
Reference in New Issue
Block a user