diff --git a/chrome/content/zotero/xpcom/data/itemFields.js b/chrome/content/zotero/xpcom/data/itemFields.js index 67bb7053f..c1ac1f126 100644 --- a/chrome/content/zotero/xpcom/data/itemFields.js +++ b/chrome/content/zotero/xpcom/data/itemFields.js @@ -260,6 +260,11 @@ Zotero.ItemFields = new function() { throw new Error("Invalid field '" + baseField + '" for base field'); } + // If field isn't a base field, return it if it's valid for the type + if (!this.isBaseField(baseFieldID)) { + return this.isValidForType(baseFieldID, itemTypeID) ? baseFieldID : false; + } + return _baseTypeFields[itemTypeID][baseFieldID]; }