mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 16:55:05 +02:00
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 = '';
|
$all_modules = '';
|
||||||
} else {
|
} else {
|
||||||
$all_modules = db_get_all_rows_sql(
|
$all_modules = db_get_all_rows_sql(
|
||||||
'SELECT DISTINCT nombre, id_agente_modulo
|
'SELECT DISTINCT nombre FROM
|
||||||
FROM tagente_modulo
|
tagente_modulo WHERE id_agente IN ('.implode(',', array_values($id_agents)).')'
|
||||||
WHERE id_agente
|
|
||||||
IN ('.implode(',', array_values($id_agents)).')'
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -3529,6 +3527,9 @@ $(document).ready (function () {
|
|||||||
|
|
||||||
$("#id_agents").change(agent_changed_by_multiple_agents);
|
$("#id_agents").change(agent_changed_by_multiple_agents);
|
||||||
|
|
||||||
|
// Load selected modules by default
|
||||||
|
$("#id_agents2").trigger('click');
|
||||||
|
|
||||||
$("#combo_group").change (
|
$("#combo_group").change (
|
||||||
function () {
|
function () {
|
||||||
jQuery.post ("ajax.php",
|
jQuery.post ("ajax.php",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user