Skip to content

User search in admin/groupadmin panel only on uid #1749

@hregnier

Description

@hregnier

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions