commit 16327ddad64ed677586c30b1e3d7da401c3fc56c
parent 0a8990947cbf2c5264f708f079b00fbb2d5c1571
Author: Dan Stillman <dstillman@zotero.org>
Date: Mon, 8 Jul 2013 18:18:16 -0400
Don't update Date Modified when syncing related items
This caused all items with related items to lose their Date Modified
when synced down.
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git 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') {