Fix empty subcollection problem
This commit is contained in:
parent
1bd36605d4
commit
8d51a09eda
1 changed files with 1 additions and 1 deletions
|
@ -2175,7 +2175,7 @@ Zotero.Translate.prototype._exportGetCollection = function() {
|
|||
|
||||
if(this._collectionsLeft && this._collectionsLeft.length != 0) {
|
||||
var returnItem = this._collectionsLeft.shift();
|
||||
var obj = returnItem.serialize();
|
||||
var obj = returnItem.serialize(true);
|
||||
obj.id = obj.primary.collectionID;
|
||||
obj.name = obj.fields.name;
|
||||
return obj;
|
||||
|
|
Loading…
Add table
Reference in a new issue