Merge branch '2955-Group-view-cuenta-módulos-de-agentes-deshabilitados' into 'develop'

Added disabled field in sql query - #2955

See merge request artica/pandorafms!1893

Former-commit-id: 2eaba1884722b5294698620f9ca0464b12c7bd33
This commit is contained in:
Tatiana Llorente 2019-01-08 12:17:09 +01:00
commit 7300f83552
1 changed files with 1 additions and 0 deletions

View File

@ -68,6 +68,7 @@ function groupview_get_modules_counters($groups_ids = false) {
ta.id_grupo AS g
FROM $table ta
WHERE ta.id_grupo IN ($groups_ids)
AND ta.disabled = 0
GROUP BY ta.id_grupo
UNION ALL
SELECT SUM(ta.normal_count) AS module_normal,