mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #6537 - series order on sony being lost
This commit is contained in:
parent
fa17a92c2c
commit
8521a4b698
@ -181,7 +181,7 @@ class CollectionsBookList(BookList):
|
||||
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…
x
Reference in New Issue
Block a user