From d87dae44db19989a6d18cef13bb6d26af51bd571 Mon Sep 17 00:00:00 2001 From: enriquecd Date: Mon, 13 Mar 2017 11:50:37 +0100 Subject: [PATCH] Select user_id(name inserted manually by user) info to show and order (fullname is empty often) - 92 --- pandora_console/godmode/massive/massive_add_profiles.php | 4 ++-- pandora_console/godmode/massive/massive_delete_profiles.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pandora_console/godmode/massive/massive_add_profiles.php b/pandora_console/godmode/massive/massive_add_profiles.php index c77ff44068..253992b7f5 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 = ""; -$users_order = array('field' => 'full_name', 'order' => 'ASC'); -$data[2] .= html_print_select (users_get_info($users_order), 'users_id[]', '', '', '', +$users_order = array('field' => 'id_user', 'order' => 'ASC'); +$data[2] .= html_print_select (users_get_info($users_order,'id_user'), '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 5f69fb0c40..daf9e91246 100644 --- a/pandora_console/godmode/massive/massive_delete_profiles.php +++ b/pandora_console/godmode/massive/massive_delete_profiles.php @@ -118,7 +118,7 @@ $data[2] .= html_print_image('images/spinner.png', true); $data[2] .= ''; $users_profiles = ""; $users_order = array('field' => 'id_user', 'order' => 'ASC'); -$data[2] .= html_print_select (users_get_info($users_order), 'users_id[]', '', '', '', +$data[2] .= html_print_select (users_get_info($users_order,'id_user'), 'users_id[]', '', '', '', '', true, true, true, '', false, 'width: 100%');