Merge branch '4.0'
This commit is contained in:
commit
5c523d8694
112 changed files with 3659 additions and 1584 deletions
|
@ -472,6 +472,16 @@ function generateAllTypesAndFieldsData() {
|
|||
lastName: typeName + 'Last'
|
||||
});
|
||||
}
|
||||
|
||||
// Also add a single-field mode author, which is valid for all types
|
||||
let primaryCreatorType = Zotero.CreatorTypes.getName(
|
||||
Zotero.CreatorTypes.getPrimaryIDForType(itemTypes[i].id)
|
||||
);
|
||||
creators.push({
|
||||
creatorType: primaryCreatorType,
|
||||
lastName: 'Institutional Author',
|
||||
fieldMode: 1
|
||||
});
|
||||
}
|
||||
|
||||
return data;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue