Somehow icu collation_order stopped ignoring case.

This commit is contained in:
Charles Haley 2012-10-22 17:19:42 +02:00
parent e0efbe0f0f
commit 06046c93dd

View File

@ -415,10 +415,10 @@ class TagsModel(QAbstractItemModel): # {{{
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