← Back to team overview

openlp-core team mailing list archive

Re: [Merge] lp:~googol-hush/openlp/mediaitem-sorting into lp:openlp

 

Tried the following in python at work (Win7). I would have expected the same result if case insensitive:

>>> import locale
>>> print locale.LC_COLLATE
1
>>> print locale.strcoll('a', 'Z')
1
>>> print locale.strcoll('A', 'z')
-1

Can you perhaps change to: 
key=operator.attrgetter('title').lower() ?
-- 
https://code.launchpad.net/~googol-hush/openlp/mediaitem-sorting/+merge/61786
Your team OpenLP Core is subscribed to branch lp:openlp.


References