Merge branch 'ent-9381-13999-problema-tactical-view-causada-por-grupos-secundarios' into 'develop'
Fix tactical view counting duplicated modules when agents have secodary groups See merge request artica/pandorafms!5100
This commit is contained in:
commit
2657faab02
|
@ -416,7 +416,7 @@ function tactical_get_data(
|
|||
} else {
|
||||
$result_list = db_get_all_rows_sql(
|
||||
sprintf(
|
||||
'SELECT COUNT(*) as contado, estado
|
||||
'SELECT COUNT(DISTINCT(tam.id_agente_modulo)) as contado, estado
|
||||
FROM tagente_estado tae
|
||||
INNER JOIN tagente ta
|
||||
ON tae.id_agente = ta.id_agente
|
||||
|
|
Loading…
Reference in New Issue