diff --git a/pandora_console/godmode/reporting/reporting_builder.item_editor.php b/pandora_console/godmode/reporting/reporting_builder.item_editor.php
index 4033e7616f..fa75a7b452 100755
--- a/pandora_console/godmode/reporting/reporting_builder.item_editor.php
+++ b/pandora_console/godmode/reporting/reporting_builder.item_editor.php
@@ -930,10 +930,10 @@ You can of course remove the warnings, that's why we include the source and do n
$agents = agents_get_group_agents($group);
if ((empty($agents)) || $agents == -1) $agents = array();
- $sql_log = 'SELECT source
+ $sql_log = 'SELECT source AS k, source AS v
FROM tagente,tagent_module_log
- WHERE tagente.id_agente = tagent_module_log.id_agent ';
-
+ WHERE tagente.id_agente = tagent_module_log.id_agent AND tagente.disabled = 0';
+
if (!empty($agents)) {
$index = 0;
foreach ($agents as $key => $a) {
@@ -947,7 +947,7 @@ You can of course remove the warnings, that's why we include the source and do n
}
$sql_log .= ")";
}
- html_print_select_from_sql ($sql_log, 'source', $source, '', __('All'), '', false, false, false);
+ html_print_select_from_sql ($sql_log, 'source', $source, 'onselect=source_change_agents();', __('All'), '', false, false, false);
?>
@@ -1066,9 +1066,15 @@ You can of course remove the warnings, that's why we include the source and do n
$value) {
@@ -1089,6 +1095,7 @@ You can of course remove the warnings, that's why we include the source and do n
}
}
html_print_select($agents2, 'id_agents2[]', $agents_select, $script = '', "", 0, false, true, true, '', false, "min-width: 180px");
+ echo "" . html_print_image('images/spinner.gif', true) . "";
?>