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()