Addresses #1276, RDF export loses collection info
This commit is contained in:
parent
a161217f3b
commit
3c419f9f5a
1 changed files with 1 additions and 0 deletions
|
@ -2176,6 +2176,7 @@ Zotero.Translate.prototype._exportGetCollection = function() {
|
|||
if(this._collectionsLeft && this._collectionsLeft.length != 0) {
|
||||
var returnItem = this._collectionsLeft.shift();
|
||||
var obj = returnItem.serialize();
|
||||
obj.id = obj.primary.collectionID;
|
||||
obj.name = obj.fields.name;
|
||||
return obj;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue