From 81e15c4dc9708b65433d7125c219e8e27424222e Mon Sep 17 00:00:00 2001 From: fermin831 Date: Fri, 28 Sep 2018 09:37:16 +0200 Subject: [PATCH] Fixed tags on Tree view --- pandora_console/include/class/Tree.class.php | 3 --- pandora_console/include/class/TreeTag.class.php | 4 ++++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/pandora_console/include/class/Tree.class.php b/pandora_console/include/class/Tree.class.php index b72e3ec216..11f7fa56c5 100644 --- a/pandora_console/include/class/Tree.class.php +++ b/pandora_console/include/class/Tree.class.php @@ -909,9 +909,6 @@ class Tree { tam.id_tipo_modulo, tam.id_modulo, tae.estado, tae.datos, tam.parent_module_id AS parent, tatm.id AS alerts'; - // has any of this tags. - $tag_join = ''; - $sql = "SELECT $columns FROM tagente_modulo tam $tag_join diff --git a/pandora_console/include/class/TreeTag.class.php b/pandora_console/include/class/TreeTag.class.php index c6562db725..516dceb3db 100644 --- a/pandora_console/include/class/TreeTag.class.php +++ b/pandora_console/include/class/TreeTag.class.php @@ -48,6 +48,10 @@ class TreeTag extends Tree { $this->getThirdLevel(); } } + + protected function getTagJoin () { + return ''; + } } ?>