2010-04-29 Sergio Martin <sergio.martin@artica.es>

* 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



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2634 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
zarzuelo 2010-04-29 09:48:54 +00:00
parent 24e7d86f72
commit e5bf931f7b
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2010-04-29 Sergio Martin <sergio.martin@artica.es>
* 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 <sergio.martin@artica.es>
* pandoradb.sql

View File

@ -64,7 +64,7 @@ $data[1] .= print_input_text_extended ('agent_name',$agent_name, 'text_agent_nam
$data[1] .= '<a href="#" class="tip">&nbsp;<span>' . __("Type at least two characters to search") . '</span></a>&nbsp; <br/>';
$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 {