mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 00:32:29 -04:00
fix(search): show user search provider for deactivated and admin pages
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
This commit is contained in:
parent
ba8a0ef0b4
commit
d561883587
1 changed files with 1 additions and 1 deletions
|
|
@ -47,7 +47,7 @@ class UserSearch implements IProvider {
|
|||
}
|
||||
|
||||
public function getOrder(string $route, array $routeParameters): ?int {
|
||||
return $route === 'settings.Users.usersList'
|
||||
return str_starts_with($route, 'settings.Users.usersList')
|
||||
? 300
|
||||
: null;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue