Properly include creators of last item when looking for duplicates
This commit is contained in:
parent
208d470531
commit
ffb3823b4c
1 changed files with 6 additions and 6 deletions
|
@ -303,14 +303,14 @@ Zotero.Duplicates.prototype._findDuplicates = Zotero.Promise.coroutine(function*
|
|||
itemCreators = [];
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
||||
lastItemID = row.itemID;
|
||||
|
||||
itemCreators.push({
|
||||
lastName: normalizeString(row.lastName),
|
||||
firstInitial: row.fieldMode == 0 ? normalizeString(row.firstName).charAt(0) : false
|
||||
});
|
||||
}
|
||||
lastItemID = row.itemID;
|
||||
}
|
||||
// Add final item creators
|
||||
if (itemCreators.length) {
|
||||
creatorRowsCache[lastItemID] = itemCreators;
|
||||
|
|
Loading…
Reference in a new issue