mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-21 10:56:43 +01:00
Fix #1069835 (Alphabetical wrong for accented character)
This commit is contained in:
commit
0d532dd522
1 changed files with 2 additions and 2 deletions
|
|
@ -415,10 +415,10 @@ def process_one_node(category, collapse_model, state_map): # {{{
|
|||
if not tag.sort:
|
||||
c = ' '
|
||||
else:
|
||||
c = tag.sort
|
||||
c = icu_upper(tag.sort)
|
||||
ordnum, ordlen = collation_order(c)
|
||||
if last_ordnum != ordnum:
|
||||
last_c = icu_upper(c[0:ordlen])
|
||||
last_c = c[0:ordlen]
|
||||
last_ordnum = ordnum
|
||||
cl_list[idx] = last_c
|
||||
top_level_component = 'z' + data[key][0].original_name
|
||||
|
|
|
|||
Loading…
Reference in a new issue