diff --git a/pandora_console/godmode/massive/massive_add_profiles.php b/pandora_console/godmode/massive/massive_add_profiles.php index 59ce041ee8..c77ff44068 100644 --- a/pandora_console/godmode/massive/massive_add_profiles.php +++ b/pandora_console/godmode/massive/massive_add_profiles.php @@ -103,8 +103,8 @@ $data[2] = ''; $users_profiles = ""; - -$data[2] .= html_print_select (users_get_info(), 'users_id[]', '', '', '', +$users_order = array('field' => 'full_name', 'order' => 'ASC'); +$data[2] .= html_print_select (users_get_info($users_order), 'users_id[]', '', '', '', '', true, true, true, '', false, 'width: 100%'); diff --git a/pandora_console/godmode/massive/massive_delete_profiles.php b/pandora_console/godmode/massive/massive_delete_profiles.php index 560dbfdc85..5f69fb0c40 100644 --- a/pandora_console/godmode/massive/massive_delete_profiles.php +++ b/pandora_console/godmode/massive/massive_delete_profiles.php @@ -117,8 +117,8 @@ $data[2] = ''; $users_profiles = ""; - -$data[2] .= html_print_select (array(), 'users_id[]', '', '', '', +$users_order = array('field' => 'id_user', 'order' => 'ASC'); +$data[2] .= html_print_select (users_get_info($users_order), 'users_id[]', '', '', '', '', true, true, true, '', false, 'width: 100%');