mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-15 09:54:23 +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);
|
$backend = UserBackend::create(null, $config);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
return $backend->select(array('user_name'))->fetchColumn();
|
return $backend->select(array('user_name'))->order('user_name', 'asc', true)->fetchColumn();
|
||||||
} catch (Exception $_) {
|
} catch (Exception $_) {
|
||||||
// No need to handle anything special here. Error means no users found.
|
// No need to handle anything special here. Error means no users found.
|
||||||
return array();
|
return array();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user