Merge branch '2938-Problema-con-tags-en-el-wizard-y-la-vista-de-informes-return-2-dev' into 'develop'
Added tagent_secondary_group in functions_reporting See merge request artica/pandorafms!2063 Former-commit-id: b4d8339957d37c16d5e404299ad85acaa3298d01
This commit is contained in:
commit
51df84c981
|
@ -159,7 +159,8 @@ function reporting_make_reporting_data($report = null, $id_report,
|
|||
true);
|
||||
|
||||
$sql_tags_join = "INNER JOIN tagente ON tagente.id_agente = t1.id_agente
|
||||
INNER JOIN ttag_module ON ttag_module.id_agente_modulo = t1.id_agente_modulo";
|
||||
INNER JOIN ttag_module ON ttag_module.id_agente_modulo = t1.id_agente_modulo
|
||||
LEFT JOIN tagent_secondary_group tasg ON tagente.id_agente = tasg.id_agent";
|
||||
|
||||
$sql = sprintf('SELECT count(*) FROM tagente_modulo t1
|
||||
%s WHERE t1.delete_pending = 0 AND t1.id_agente_modulo = '. $content["id_agent_module"] .'
|
||||
|
|
Loading…
Reference in New Issue