Merge branch '92-ordenacion-de-usuarios-2' into 'develop'

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

See merge request !246
This commit is contained in:
Enrique Camargo 2017-03-13 12:04:53 +01:00
commit 4c243f28a2
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%');