Added disabled field in sql query - #2955

This commit is contained in:
tatiana.llorente@artica.es 2018-10-25 13:18:28 +02:00
parent 4dd2cd434c
commit 4b522d3f03
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,