Fix error exporting items with child notes with tags
This commit is contained in:
parent
94f004002b
commit
fa4df719e1
1 changed files with 4 additions and 1 deletions
|
@ -3395,7 +3395,10 @@ Zotero.Item.prototype.toArray = function (mode) {
|
||||||
var tags = this.getTags();
|
var tags = this.getTags();
|
||||||
if (tags) {
|
if (tags) {
|
||||||
for (var i=0; i<tags.length; i++) {
|
for (var i=0; i<tags.length; i++) {
|
||||||
arr.tags.push(tags[i].serialize());
|
var tag = tags[i].serialize();
|
||||||
|
tag.tag = tag.fields.name;
|
||||||
|
tag.type = tag.fields.type;
|
||||||
|
arr.tags.push(tag);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue