mirror of
https://github.com/zotero/zotero.git
synced 2026-09-20 00:12:49 +00:00
Item hierarchy in items pushed to server was lost
This commit is contained in:
parent
4ab573e4e7
commit
fe100d800b
1 changed files with 1 additions and 4 deletions
|
|
@ -2890,10 +2890,7 @@ Zotero.Sync.Server.Data = new function() {
|
|||
}
|
||||
|
||||
if (item.primary.itemType == 'note' || item.primary.itemType == 'attachment') {
|
||||
if (item.sourceItemID) {
|
||||
var sourceItem = Zotero.Items.get(item.sourceItemID);
|
||||
xml.@sourceItem = sourceItem.key;
|
||||
}
|
||||
xml.@sourceItem = item.sourceItemKey;
|
||||
}
|
||||
|
||||
// Note
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue