Merge branch 'ent-4051-tree-view-module-groups-duplica-modulos' into 'develop'

add condition in query

See merge request artica/pandorafms!2710
This commit is contained in:
Daniel Rodriguez 2019-10-03 16:41:15 +02:00
commit b2157f4b32
1 changed files with 2 additions and 0 deletions

View File

@ -1075,6 +1075,8 @@ class Tree
ON ta.id_agente = tasg.id_agent
LEFT JOIN talert_template_modules tatm
ON tatm.id_agent_module = tam.id_agente_modulo
AND tatm.id_alert_template = 1
OR tatm.id_alert_template = NULL
$inner
WHERE tam.disabled = 0 AND ta.disabled = 0
$condition