mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
EPUB/MOBI Catalogs: Fix multiple books with the same title but different authors in a genre not being listed. Fixes #1415990 [Duplicate titles not showing in catalog](https://bugs.launchpad.net/calibre/+bug/1415990)
This commit is contained in:
parent
b287374cdd
commit
afa9120940
@ -2107,7 +2107,7 @@ class CatalogBuilder(object):
|
||||
new_book = None
|
||||
if key == normalized_tag:
|
||||
for book in existing_genre[key]:
|
||||
if book['title'] == this_book['title']:
|
||||
if (book['title'], book['author']) == (this_book['title'], this_book['author']):
|
||||
new_book = False
|
||||
break
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user