mirror of
https://github.com/zotero/zotero.git
synced 2026-10-15 04:18:27 +00:00
Addresses #1276, RDF export loses collection info
This commit is contained in:
parent
dd83fdc429
commit
080c2d987d
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