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:
Kovid Goyal 2019-02-04 11:18:59 +05:30
parent b287374cdd
commit afa9120940
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -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: