mirror of
https://github.com/zotero/zotero.git
synced 2026-09-11 22:51:15 +00:00
Reduce the judgment threshold for checking duplicate items by year
This commit is contained in:
parent
2f7055e15d
commit
4899483d30
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