Skip to content

Commit 7e2e9ec

Browse files
kra-mopringelmann
authored andcommitted
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 <git@kramo.page>
1 parent fe12dc2 commit 7e2e9ec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/appstore/lib/Search/AppSearch.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public function getName(): string {
3737

3838
#[\Override]
3939
public function getOrder(string $route, array $routeParameters): int {
40-
return $route === 'appstore.Page.viewApps' ? -50 : 100;
40+
return -50;
4141
}
4242

4343
#[\Override]

0 commit comments

Comments
 (0)