mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-02-03 05:53:33 +01:00
SONY driver: Fix series order being lost when metadata management is set to manual
This commit is contained in:
parent
39c820043d
commit
1c8d6e7c73
1 changed files with 3 additions and 1 deletions
|
|
@ -181,7 +181,9 @@ 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 \
|
||||
('series' in collection_attributes and
|
||||
getattr(book, 'series', None) == category):
|
||||
series_categories.add(category)
|
||||
# Sort collections
|
||||
for category, books in collections.items():
|
||||
|
|
|
|||
Loading…
Reference in a new issue