diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index d733f187d4..211a91a2be 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,9 @@ +2010-04-29 Sergio Martin + + * godmode/agentes/module_manager_editor_prediction.php: + Limited the source modules availables for the prediction + module at the modules with history_data = 1. bug:2922920 + 2010-04-29 Sergio Martin * pandoradb.sql diff --git a/pandora_console/godmode/agentes/module_manager_editor_prediction.php b/pandora_console/godmode/agentes/module_manager_editor_prediction.php index d2bf27311d..7dae465fc8 100644 --- a/pandora_console/godmode/agentes/module_manager_editor_prediction.php +++ b/pandora_console/godmode/agentes/module_manager_editor_prediction.php @@ -64,7 +64,7 @@ $data[1] .= print_input_text_extended ('agent_name',$agent_name, 'text_agent_nam $data[1] .= ' ' . __("Type at least two characters to search") . ' 
'; $data[1] .= print_label(__("Module"),'prediction_module',true); if($id_agente) { - $sql = "SELECT id_agente_modulo, nombre FROM tagente_modulo WHERE id_agente = ".$id_agente; + $sql = "SELECT id_agente_modulo, nombre FROM tagente_modulo WHERE history_data = 1 AND id_agente = ".$id_agente; $data[1] .= print_select_from_sql($sql, 'prediction_module', $prediction_module, false, __('Select Module'), 0, true, false, true, $is_service); } else {