mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 17:54:55 +02:00
Fix #6537 - series order on sony being lost
This commit is contained in:
parent
fa17a92c2c
commit
8521a4b698
1 changed files with 1 additions and 1 deletions
|
|
@ -181,7 +181,7 @@ def get_collections(self, collection_attributes):
|
|||
if lpath not in collections_lpaths[category]:
|
||||
collections_lpaths[category].add(lpath)
|
||||
collections[category].append(book)
|
||||
if attr == 'series':
|
||||
if attr == 'series' or getattr(book, 'series', None) == category:
|
||||
series_categories.add(category)
|
||||
# Sort collections
|
||||
for category, books in collections.items():
|
||||
|
|
|
|||
Loading…
Reference in a new issue