Setup: Fix the sorting of existing LDAP users

This commit is contained in:
Johannes Meyer 2015-06-25 15:52:09 +02:00
parent f956d09597
commit 4fc7b3eb1b
1 changed files with 1 additions and 1 deletions

View File

@ -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();