mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 02:34:06 -04:00
Somehow icu collation_order stopped ignoring case.
This commit is contained in:
parent
e0efbe0f0f
commit
06046c93dd
@ -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