Merge pull request #45092 from nextcloud/fix/user-provider-search-shown

This commit is contained in:
Benjamin Gaussorgues 2024-07-24 16:38:13 +02:00 committed by GitHub
commit 2ddfbf3e79
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -29,7 +29,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;
}