From f74530210fdde5a632c88d28f15b7beed9c8ef34 Mon Sep 17 00:00:00 2001 From: Charles Haley <> Date: Sun, 26 Sep 2010 21:01:55 +0100 Subject: [PATCH] Make composite columns sort case-insensitive. --- src/calibre/library/caches.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/library/caches.py b/src/calibre/library/caches.py index 09adc4a9fd..6cd0c227dd 100644 --- a/src/calibre/library/caches.py +++ b/src/calibre/library/caches.py @@ -780,7 +780,7 @@ class SortKeyGenerator(object): sidx = record[sidx_fm['rec_index']] val = (val, sidx) - elif dt in ('text', 'comments'): + elif dt in ('text', 'comments', 'composite'): if val is None: val = '' val = val.lower()