From b27a3b4ce1a2082c03a21562972745d6db5c6b05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Molakvo=C3=A6?= Date: Thu, 6 Aug 2020 07:55:05 +0200 Subject: Fix search order MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit see https://github.com/nextcloud/server/pull/22120 Signed-off-by: John Molakvoæ (skjnldsv) --- lib/Search/ConversationSearch.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Search/ConversationSearch.php b/lib/Search/ConversationSearch.php index 3a9879686..ba6938c99 100644 --- a/lib/Search/ConversationSearch.php +++ b/lib/Search/ConversationSearch.php @@ -73,10 +73,10 @@ class ConversationSearch implements IProvider { public function getOrder(string $route, array $routeParameters): int { if (strpos($route, Application::APP_ID . '.') === 0) { // Active app, prefer Talk results - return 0; + return -1; } - return 6; + return 15; } /** -- cgit v1.2.3