mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Make composite columns sort case-insensitive.
This commit is contained in:
parent
2e8b8237e1
commit
f74530210f
@ -780,7 +780,7 @@ class SortKeyGenerator(object):
|
|||||||
sidx = record[sidx_fm['rec_index']]
|
sidx = record[sidx_fm['rec_index']]
|
||||||
val = (val, sidx)
|
val = (val, sidx)
|
||||||
|
|
||||||
elif dt in ('text', 'comments'):
|
elif dt in ('text', 'comments', 'composite'):
|
||||||
if val is None:
|
if val is None:
|
||||||
val = ''
|
val = ''
|
||||||
val = val.lower()
|
val = val.lower()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user