diff options
author | Côme Chilliet <91878298+come-nc@users.noreply.github.com> | 2023-05-02 16:42:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-02 16:42:09 +0200 |
commit | f7632f2fc4660ebc74240a9dd738b6e03a711eaa (patch) | |
tree | dcdc484ad3f69f9e3eb785192048c06bb09e6e98 /core/Command | |
parent | ac56be10fbd02c09bdeebcaa69d57aaae6613b9f (diff) | |
parent | 10296ba7e50ede8eee0ed18f477eb3e67bfd5878 (diff) | |
download | nextcloud-server-f7632f2fc4660ebc74240a9dd738b6e03a711eaa.tar.gz nextcloud-server-f7632f2fc4660ebc74240a9dd738b6e03a711eaa.zip |
Merge pull request #32866 from nextcloud/performance/searchInGroup-displayname-cache
Optimize retrieving display name when searching for users in a group
Diffstat (limited to 'core/Command')
-rw-r--r-- | core/Command/User/ListCommand.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Command/User/ListCommand.php b/core/Command/User/ListCommand.php index c254a8a11cf..bf4bf7f030e 100644 --- a/core/Command/User/ListCommand.php +++ b/core/Command/User/ListCommand.php @@ -74,7 +74,7 @@ class ListCommand extends Base { } protected function execute(InputInterface $input, OutputInterface $output): int { - $users = $this->userManager->search('', (int) $input->getOption('limit'), (int) $input->getOption('offset')); + $users = $this->userManager->searchDisplayName('', (int) $input->getOption('limit'), (int) $input->getOption('offset')); $this->writeArrayInOutputFormat($input, $output, $this->formatUsers($users, (bool)$input->getOption('info'))); return 0; |