From 16327ddad64ed677586c30b1e3d7da401c3fc56c Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Mon, 8 Jul 2013 18:18:16 -0400 Subject: [PATCH] Don't update Date Modified when syncing related items This caused all items with related items to lose their Date Modified when synced down. --- chrome/content/zotero/xpcom/sync.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/sync.js b/chrome/content/zotero/xpcom/sync.js index d143117582..ab4688d392 100644 --- a/chrome/content/zotero/xpcom/sync.js +++ b/chrome/content/zotero/xpcom/sync.js @@ -3345,7 +3345,9 @@ Zotero.Sync.Server.Data = new function() { } item.addRelatedItem(relItem.id); } - item.save(); + item.save({ + skipDateModifiedUpdate: true + }); } } else if (type == 'tag') {