mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #5334 (Alphabetizing problem)
This commit is contained in:
parent
c937c7cdce
commit
0d1031ab54
@ -113,7 +113,7 @@ class NewsItem(NewsTreeItem):
|
|||||||
return NONE
|
return NONE
|
||||||
|
|
||||||
def __cmp__(self, other):
|
def __cmp__(self, other):
|
||||||
return cmp(self.title, getattr(other, 'title', ''))
|
return cmp(self.title.lower(), getattr(other, 'title', '').lower())
|
||||||
|
|
||||||
class RecipeModel(QAbstractItemModel, SearchQueryParser):
|
class RecipeModel(QAbstractItemModel, SearchQueryParser):
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user