My 30K users is imported from an old ldap, some of them have a random uid and I can search them only by their full name. But when an admin or a groupadmin search with the top bar searchbox, the search is only on uid.
For a quick fix, i juste change in settings/Controller/UsersController.php
L:252 $batch = $this->userManager->search($pattern, $limit, $offset);
to
L:252 $batch = $this->userManager->searchDisplayName($pattern, $limit, $offset);
But im not pleased with it, because uid search can't be done. Is it possible to override all this process to make search on both criteria ?
My 30K users is imported from an old ldap, some of them have a random uid and I can search them only by their full name. But when an admin or a groupadmin search with the top bar searchbox, the search is only on uid.
For a quick fix, i juste change in settings/Controller/UsersController.php
L:252
$batch = $this->userManager->search($pattern, $limit, $offset);to
L:252
$batch = $this->userManager->searchDisplayName($pattern, $limit, $offset);But im not pleased with it, because uid search can't be done. Is it possible to override all this process to make search on both criteria ?