diff options
author | Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com> | 2024-04-29 11:47:48 +0200 |
---|---|---|
committer | skjnldsv <skjnldsv@protonmail.com> | 2024-07-27 16:53:24 +0200 |
commit | d5618835875d099a48328a1212df8784611bf49e (patch) | |
tree | 57c4407f1d044fdf13eface9d4e2feb80cacdcd2 /apps/settings | |
parent | ba8a0ef0b477cbf59ad83a8f2c69ddd7be10bd71 (diff) | |
download | nextcloud-server-d5618835875d099a48328a1212df8784611bf49e.tar.gz nextcloud-server-d5618835875d099a48328a1212df8784611bf49e.zip |
fix(search): show user search provider for deactivated and admin pages
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
Diffstat (limited to 'apps/settings')
-rw-r--r-- | apps/settings/lib/Search/UserSearch.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/settings/lib/Search/UserSearch.php b/apps/settings/lib/Search/UserSearch.php index 20cdcfc2c42..eecf6377e65 100644 --- a/apps/settings/lib/Search/UserSearch.php +++ b/apps/settings/lib/Search/UserSearch.php @@ -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; } |