Add order in parent select in static graph in visual console, Tiquet: #2067
This commit is contained in:
parent
3cd52be7e9
commit
790c81a250
|
@ -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")
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue