mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 18:24:30 -04:00
GwR changes for series sorting
This commit is contained in:
parent
cea60d5fd8
commit
e7c07ee25e
@ -1009,7 +1009,7 @@ class EPUB_MOBI(CatalogPlugin):
|
|||||||
elif x['series'] < y['series']:
|
elif x['series'] < y['series']:
|
||||||
return -1
|
return -1
|
||||||
elif not x['series'] and not y['series']:
|
elif not x['series'] and not y['series']:
|
||||||
if x['title'] > y['title']:
|
if self.generateSortTitle(x['title']) > self.generateSortTitle(y['title']):
|
||||||
return 1
|
return 1
|
||||||
else:
|
else:
|
||||||
return -1
|
return -1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user