Merge branch 'ent-3314-Agents/Modules-item-error-on-report' into 'develop'
Ent 3314 agents/modules item error on report See merge request artica/pandorafms!2296
This commit is contained in:
commit
c7b62e8404
|
@ -1565,10 +1565,8 @@ $class = 'databox filters';
|
|||
$all_modules = '';
|
||||
} else {
|
||||
$all_modules = db_get_all_rows_sql(
|
||||
'SELECT DISTINCT nombre, id_agente_modulo
|
||||
FROM tagente_modulo
|
||||
WHERE id_agente
|
||||
IN ('.implode(',', array_values($id_agents)).')'
|
||||
'SELECT DISTINCT nombre FROM
|
||||
tagente_modulo WHERE id_agente IN ('.implode(',', array_values($id_agents)).')'
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -3529,6 +3527,9 @@ $(document).ready (function () {
|
|||
|
||||
$("#id_agents").change(agent_changed_by_multiple_agents);
|
||||
|
||||
// Load selected modules by default
|
||||
$("#id_agents2").trigger('click');
|
||||
|
||||
$("#combo_group").change (
|
||||
function () {
|
||||
jQuery.post ("ajax.php",
|
||||
|
|
Loading…
Reference in New Issue