From d436612ecb3fffa450afcff588d55df90d93633b Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 24 Jan 2013 23:11:17 +0530 Subject: [PATCH] ... --- src/calibre/db/categories.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/calibre/db/categories.py b/src/calibre/db/categories.py index 39ac38000b..8a4855b6d7 100644 --- a/src/calibre/db/categories.py +++ b/src/calibre/db/categories.py @@ -101,6 +101,8 @@ def get_categories(dbcache, sort='name', book_ids=None, icon_map=None): book_ids = frozenset(book_ids) if book_ids else book_ids for category, is_multiple, is_composite in find_categories(fm): tag_class = create_tag_class(category, fm, icon_map) + # TODO: Handle composite column based categories (both is_multiple and + # not is_multiple) if category == 'news': cats = dbcache.fields['tags'].get_news_category(tag_class, book_ids) else: