From 679a1acb90ca8b4b469b007cfaa8e6348ca67e39 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Thu, 15 Oct 2020 16:24:17 -0400 Subject: [PATCH] Fix "Web Page" showing in New Item menu for new databases --- chrome/content/zotero/xpcom/data/cachedTypes.js | 1 + 1 file changed, 1 insertion(+) diff --git a/chrome/content/zotero/xpcom/data/cachedTypes.js b/chrome/content/zotero/xpcom/data/cachedTypes.js index 1d5ce84540..0b31ebd762 100644 --- a/chrome/content/zotero/xpcom/data/cachedTypes.js +++ b/chrome/content/zotero/xpcom/data/cachedTypes.js @@ -372,6 +372,7 @@ Zotero.ItemTypes = new function() { // Secondary types _secondaryTypes = yield this._getTypesFromDB( `WHERE display != 0 AND display NOT IN ('${_primaryTypeNames.join("', '")}')` + + " AND name != 'webpage'" ); // Hidden types