{"action":"closed","issue":{"url":"https://api.github.com/repos/nextcloud/server/issues/1749","repository_url":"https://api.github.com/repos/nextcloud/server","labels_url":"https://api.github.com/repos/nextcloud/server/issues/1749/labels{/name}","comments_url":"https://api.github.com/repos/nextcloud/server/issues/1749/comments","events_url":"https://api.github.com/repos/nextcloud/server/issues/1749/events","html_url":"https://github.com/nextcloud/server/issues/1749","id":183037043,"number":1749,"title":"User search in admin/groupadmin panel only on uid","user":{"login":"hregnier","id":22788523,"avatar_url":"https://avatars2.githubusercontent.com/u/22788523?v=4","gravatar_id":"","url":"https://api.github.com/users/hregnier","html_url":"https://github.com/hregnier","followers_url":"https://api.github.com/users/hregnier/followers","following_url":"https://api.github.com/users/hregnier/following{/other_user}","gists_url":"https://api.github.com/users/hregnier/gists{/gist_id}","starred_url":"https://api.github.com/users/hregnier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hregnier/subscriptions","organizations_url":"https://api.github.com/users/hregnier/orgs","repos_url":"https://api.github.com/users/hregnier/repos","events_url":"https://api.github.com/users/hregnier/events{/privacy}","received_events_url":"https://api.github.com/users/hregnier/received_events","type":"User","site_admin":false},"labels":[{"id":386379233,"url":"https://api.github.com/repos/nextcloud/server/labels/enhancement","name":"enhancement","color":"0e8a16","default":true},{"id":451348066,"url":"https://api.github.com/repos/nextcloud/server/labels/feature:%20users%20and%20groups","name":"feature: users and groups","color":"c2e0c6","default":false},{"id":459180075,"url":"https://api.github.com/repos/nextcloud/server/labels/Hacktoberfest","name":"Hacktoberfest","color":"fbca04","default":false},{"id":388630876,"url":"https://api.github.com/repos/nextcloud/server/labels/starter%20issue","name":"starter issue","color":"fbca04","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-10-14T12:25:17Z","updated_at":"2017-11-14T22:30:02Z","closed_at":"2017-11-14T22:30:02Z","author_association":"NONE","body":"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. \n\nFor a quick fix, i juste change in settings/Controller/UsersController.php\nL:252 `$batch = $this->userManager->search($pattern, $limit, $offset);`\nto\nL:252 `$batch = $this->userManager->searchDisplayName($pattern, $limit, $offset);`\n\nBut 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 ?\n"}}
{"actor":{"display_login":"MorrisJobke"}}