Select user_id(name inserted manually by user) info to show and order (fullname is empty often) - 92

This commit is contained in:
enriquecd 2017-03-13 11:50:37 +01:00
parent 4a0a9bbd37
commit d87dae44db
2 changed files with 3 additions and 3 deletions

View File

@ -103,8 +103,8 @@ $data[2] = '<span id="alerts_loading" class="invisible">';
$data[2] .= html_print_image('images/spinner.png', true);
$data[2] .= '</span>';
$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%');

View File

@ -118,7 +118,7 @@ $data[2] .= html_print_image('images/spinner.png', true);
$data[2] .= '</span>';
$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%');