diff --git a/chrome/content/zotero/xpcom/data/tag.js b/chrome/content/zotero/xpcom/data/tag.js index 6bf4068e02..3ee974cd46 100644 --- a/chrome/content/zotero/xpcom/data/tag.js +++ b/chrome/content/zotero/xpcom/data/tag.js @@ -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 ||