diff options
Diffstat (limited to 'apps/dav/lib/Search/TasksSearchProvider.php')
-rw-r--r-- | apps/dav/lib/Search/TasksSearchProvider.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/dav/lib/Search/TasksSearchProvider.php b/apps/dav/lib/Search/TasksSearchProvider.php index 6c07cfd00f3..adc1197aa18 100644 --- a/apps/dav/lib/Search/TasksSearchProvider.php +++ b/apps/dav/lib/Search/TasksSearchProvider.php @@ -74,7 +74,10 @@ class TasksSearchProvider extends ACalendarSearchProvider { /** * @inheritDoc */ - public function getOrder(string $from): int { + public function getOrder(string $route, array $routeParameters): int { + if ($route === 'tasks.Page.index') { + return -1; + } return 10; } |