Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2020-08-06 09:29:52 +0300
committerGitHub <noreply@github.com>2020-08-06 09:29:52 +0300
commitbcfaa5a8ce02624a73d08d23d89c8a2066a9e130 (patch)
tree8a78efde7c304400586a24096566225368b06761
parente39e81b4a2074bd58e2da8c79b51b1edc7f11ecd (diff)
parentb27a3b4ce1a2082c03a21562972745d6db5c6b05 (diff)
Merge pull request #3995 from nextcloud/fix/search-order
Fix search order
-rw-r--r--lib/Search/ConversationSearch.php4
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;
}
/**