diff --git a/pandora_console/godmode/reporting/visual_console_builder.editor.js b/pandora_console/godmode/reporting/visual_console_builder.editor.js index 1bc6eb192b..1ca0a7637f 100755 --- a/pandora_console/godmode/reporting/visual_console_builder.editor.js +++ b/pandora_console/godmode/reporting/visual_console_builder.editor.js @@ -1080,7 +1080,7 @@ function cleanFields(item) { tinymce.get('text-label').setContent("(_VALUE_)"); } - fill_parent_select(); + //fill_parent_select(); var anyText = $("#any_text").html(); //Trick for catch the translate text. $("#module") diff --git a/pandora_console/include/functions_visual_map.php b/pandora_console/include/functions_visual_map.php index 79f578268f..d83d9102d0 100755 --- a/pandora_console/include/functions_visual_map.php +++ b/pandora_console/include/functions_visual_map.php @@ -2086,7 +2086,8 @@ function visual_map_create_internal_name_item($label = null, $type, $image, $age } function visual_map_get_items_parents($idVisual) { - $items = db_get_all_rows_filter('tlayout_data',array('id_layout' => $idVisual)); + $items = db_get_all_rows_sql(sprintf("SELECT * FROM tlayout_data where id_layout = %s order by label",$idVisual)); + //$items = db_get_all_fields_in_table('tlayout_data',array('id_layout' => $idVisual)); if ($items == false) { $items = array(); }