Merge branch 'ent-13409-widget-grupos-de-vista-tactica-muestra-estado-critico-en-grupo-erroneamente' into 'develop'

Ent 13409 Widget grupos de vista táctica, muestra estado critico en grupo erroneamente

See merge request artica/pandorafms!7223
This commit is contained in:
Jose Martin 2024-04-17 13:37:33 +00:00
commit 067d11870e
1 changed files with 1 additions and 0 deletions

View File

@ -84,6 +84,7 @@ function groupview_get_modules_counters($groups_ids=false)
INNER JOIN $table_sec tasg INNER JOIN $table_sec tasg
ON ta.id_agente = tasg.id_agent ON ta.id_agente = tasg.id_agent
WHERE tasg.id_group IN ($groups_ids) WHERE tasg.id_group IN ($groups_ids)
AND ta.disabled = 0
GROUP BY tasg.id_group GROUP BY tasg.id_group
) x GROUP BY g"; ) x GROUP BY g";
$data = db_get_all_rows_sql($sql); $data = db_get_all_rows_sql($sql);