Don't show annotation-only tags in tag selector
This commit is contained in:
parent
c7972b3d38
commit
6aa401bceb
1 changed files with 3 additions and 0 deletions
|
@ -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 ";
|
||||
|
|
Loading…
Reference in a new issue