Added disabled field in sql query - #2955
This commit is contained in:
parent
4dd2cd434c
commit
4b522d3f03
|
@ -68,6 +68,7 @@ function groupview_get_modules_counters($groups_ids = false) {
|
||||||
ta.id_grupo AS g
|
ta.id_grupo AS g
|
||||||
FROM $table ta
|
FROM $table ta
|
||||||
WHERE ta.id_grupo IN ($groups_ids)
|
WHERE ta.id_grupo IN ($groups_ids)
|
||||||
|
AND ta.disabled = 0
|
||||||
GROUP BY ta.id_grupo
|
GROUP BY ta.id_grupo
|
||||||
UNION ALL
|
UNION ALL
|
||||||
SELECT SUM(ta.normal_count) AS module_normal,
|
SELECT SUM(ta.normal_count) AS module_normal,
|
||||||
|
|
Loading…
Reference in New Issue