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

Massive operation profile actions - users select box  now is  ordered by user_id(primary name) - #92

See merge request !243
This commit is contained in:
Enrique Camargo 2017-03-10 14:20:14 +01:00
commit 3902314e82
2 changed files with 4 additions and 4 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 = "";
$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%');

View File

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