diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2020-08-06 09:29:52 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-06 09:29:52 +0300 |
commit | bcfaa5a8ce02624a73d08d23d89c8a2066a9e130 (patch) | |
tree | 8a78efde7c304400586a24096566225368b06761 | |
parent | e39e81b4a2074bd58e2da8c79b51b1edc7f11ecd (diff) | |
parent | b27a3b4ce1a2082c03a21562972745d6db5c6b05 (diff) |
Merge pull request #3995 from nextcloud/fix/search-order
Fix search order
-rw-r--r-- | lib/Search/ConversationSearch.php | 4 |
1 files 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; } /** |