mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix identifiers not always being merged correctly when merging books. Fixes #2071044 [Merging books: Identifiers fail to merge](https://bugs.launchpad.net/calibre/+bug/2071044)
This commit is contained in:
parent
8e3a2debff
commit
ff3ebef5db
@ -3398,7 +3398,7 @@ class Cache:
|
||||
if is_null_date(dest_mi.pubdate) and not is_null_date(src_mi.pubdate):
|
||||
dest_mi.pubdate = src_mi.pubdate
|
||||
|
||||
src_identifiers = self.field_for('identifier', src_id) or {}
|
||||
src_identifiers = (src_mi.get_identifiers() or {}).copy()
|
||||
src_identifiers.update(merged_identifiers)
|
||||
merged_identifiers = src_identifiers.copy()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user