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,13 +303,13 @@ Zotero.Duplicates.prototype._findDuplicates = Zotero.Promise.coroutine(function*
|
||||||
itemCreators = [];
|
itemCreators = [];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
|
||||||
itemCreators.push({
|
|
||||||
lastName: normalizeString(row.lastName),
|
|
||||||
firstInitial: row.fieldMode == 0 ? normalizeString(row.firstName).charAt(0) : false
|
|
||||||
});
|
|
||||||
}
|
|
||||||
lastItemID = row.itemID;
|
lastItemID = row.itemID;
|
||||||
|
|
||||||
|
itemCreators.push({
|
||||||
|
lastName: normalizeString(row.lastName),
|
||||||
|
firstInitial: row.fieldMode == 0 ? normalizeString(row.firstName).charAt(0) : false
|
||||||
|
});
|
||||||
}
|
}
|
||||||
// Add final item creators
|
// Add final item creators
|
||||||
if (itemCreators.length) {
|
if (itemCreators.length) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue