From 0d1031ab543fb47275750610af3f542c00c0d57e Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 22 Apr 2010 04:40:22 -0600 Subject: [PATCH] Fix #5334 (Alphabetizing problem) --- src/calibre/web/feeds/recipes/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/web/feeds/recipes/model.py b/src/calibre/web/feeds/recipes/model.py index d7da358765..1584908237 100644 --- a/src/calibre/web/feeds/recipes/model.py +++ b/src/calibre/web/feeds/recipes/model.py @@ -113,7 +113,7 @@ class NewsItem(NewsTreeItem): return NONE def __cmp__(self, other): - return cmp(self.title, getattr(other, 'title', '')) + return cmp(self.title.lower(), getattr(other, 'title', '').lower()) class RecipeModel(QAbstractItemModel, SearchQueryParser):