mirror of
https://github.com/zotero/zotero.git
synced 2026-10-05 02:43:38 +00:00
Merge 4899483d30 into d0507e02c8
This commit is contained in:
commit
36abe4404e
1 changed files with 1 additions and 1 deletions
|
|
@ -359,7 +359,7 @@ Zotero.Duplicates.prototype._findDuplicates = async function () {
|
|||
// If both items have a year and they're off by more than one, it's not a dupe
|
||||
if (typeof yearCache[a.itemID] != 'undefined'
|
||||
&& typeof yearCache[b.itemID] != 'undefined'
|
||||
&& Math.abs(yearCache[a.itemID] - yearCache[b.itemID]) > 1) {
|
||||
&& Math.abs(yearCache[a.itemID] - yearCache[b.itemID]) >= 1) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue