aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorBenjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>2024-04-29 11:47:48 +0200
committerBenjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>2024-04-29 11:47:48 +0200
commitefea956c646c6dce2e8c7149fafb6952949e084c (patch)
tree908de103f6f1851af8732df85fff4183ebb7dd5b /apps
parent2c059dd606f923e5fd689815a09a263bed1c25fd (diff)
downloadnextcloud-server-efea956c646c6dce2e8c7149fafb6952949e084c.tar.gz
nextcloud-server-efea956c646c6dce2e8c7149fafb6952949e084c.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')
-rw-r--r--apps/settings/lib/Search/UserSearch.php2
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;
}