mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-16 02:14:25 +02:00
Setup: Fix the sorting of existing LDAP users
This commit is contained in:
parent
f956d09597
commit
4fc7b3eb1b
@ -265,7 +265,7 @@ class AdminAccountPage extends Form
|
||||
$backend = UserBackend::create(null, $config);
|
||||
|
||||
try {
|
||||
return $backend->select(array('user_name'))->fetchColumn();
|
||||
return $backend->select(array('user_name'))->order('user_name', 'asc', true)->fetchColumn();
|
||||
} catch (Exception $_) {
|
||||
// No need to handle anything special here. Error means no users found.
|
||||
return array();
|
||||
|
Loading…
x
Reference in New Issue
Block a user