Fix #6537 - series order on sony being lost

This commit is contained in:
Charles Haley 2010-08-18 10:56:40 +01:00
parent fa17a92c2c
commit 8521a4b698

View File

@ -181,7 +181,7 @@ class CollectionsBookList(BookList):
if lpath not in collections_lpaths[category]: if lpath not in collections_lpaths[category]:
collections_lpaths[category].add(lpath) collections_lpaths[category].add(lpath)
collections[category].append(book) collections[category].append(book)
if attr == 'series': if attr == 'series' or getattr(book, 'series', None) == category:
series_categories.add(category) series_categories.add(category)
# Sort collections # Sort collections
for category, books in collections.items(): for category, books in collections.items():