From 7e2e9ec9736d4255a44d9402bfd9d7dc7087db64 Mon Sep 17 00:00:00 2001 From: Laura Kramolis Date: Fri, 29 May 2026 10:05:27 +0200 Subject: [PATCH] fix(AppSearch): Always sort apps first for search Since it's now "harder" to open apps, there is a reason to always sort them first when searching. Part of #60241, more reasoning in the issue Signed-off-by: Laura Kramolis --- apps/appstore/lib/Search/AppSearch.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/appstore/lib/Search/AppSearch.php b/apps/appstore/lib/Search/AppSearch.php index 97a7dfa6ddc84..8ea9bcf0f3979 100644 --- a/apps/appstore/lib/Search/AppSearch.php +++ b/apps/appstore/lib/Search/AppSearch.php @@ -37,7 +37,7 @@ public function getName(): string { #[\Override] public function getOrder(string $route, array $routeParameters): int { - return $route === 'appstore.Page.viewApps' ? -50 : 100; + return -50; } #[\Override]