Skip to content

Commit f9c86c0

Browse files
authored
Update for itemToExportFormat() signature change (#41)
1 parent 4314223 commit f9c86c0

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

utilities_item.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@ var Utilities_Item = {
5555
// (Zotero.Item won't be defined in translation-server)
5656
if (typeof Zotero.Item !== 'undefined' && zoteroItem instanceof Zotero.Item) {
5757
return Utilities_Item.itemToCSLJSON(
58-
Zotero.Utilities.Internal.itemToExportFormat(zoteroItem, false, true)
58+
Zotero.Utilities.Internal.itemToExportFormat(zoteroItem, {
59+
skipChildItems: true
60+
})
5961
);
6062
}
6163

0 commit comments

Comments
 (0)