Don't show annotation-only tags in tag selector

This commit is contained in:
Dan Stillman 2022-03-12 03:00:15 -05:00
parent c7972b3d38
commit 6aa401bceb

View file

@ -163,6 +163,9 @@ Zotero.Tags = new function() {
if (libraryID) {
sql += "JOIN items USING (itemID) WHERE libraryID = ? ";
params.push(libraryID);
// TEMP: Don't show annotation tags in tag selector
sql += "AND itemTypeID != ? ";
params.push(Zotero.ItemTypes.getID('annotation'));
}
else {
sql += "WHERE 1 ";