User search in admin/groupadmin panel only on uid #1749
Labels
enhancement
feature: users and groups
good first issue
Small tasks with clear documentation about how and in which place you need to fix things in.
Milestone
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 ?
The text was updated successfully, but these errors were encountered: