Register difference between tags if linked items change
This commit is contained in:
parent
9e8d822b90
commit
ca30ea2ff8
1 changed files with 5 additions and 0 deletions
|
@ -411,6 +411,11 @@ Zotero.Tag.prototype.diff = function (tag, includeMatches, ignoreOnlyDateModifie
|
|||
var d1 = Zotero.Utilities.prototype.arrayDiff(
|
||||
thisData.linkedItems, otherData.linkedItems
|
||||
);
|
||||
var d2 = Zotero.Utilities.prototype.arrayDiff(
|
||||
otherData.linkedItems, thisData.linkedItems
|
||||
);
|
||||
numDiffs += d1.length;
|
||||
numDiffs += d2.length;
|
||||
|
||||
// DEBUG: ignoreOnlyDateModified wouldn't work if includeMatches was set?
|
||||
if (numDiffs == 0 ||
|
||||
|
|
Loading…
Add table
Reference in a new issue