diff options
author | Joas Schilling <coding@schilljs.com> | 2019-07-08 13:24:39 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2019-07-08 13:24:39 +0300 |
commit | d166ea85a3540747d039e7836e53203b822105b4 (patch) | |
tree | 9939d61654be107d23b74d2b7d022aa58a23aa94 /lib/Controller | |
parent | 8f40b183c1ad567a0b4b5c893822a8a958cc8c5d (diff) |
Sort mentions with the searched start first
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/Controller')
-rw-r--r-- | lib/Controller/ChatController.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Controller/ChatController.php b/lib/Controller/ChatController.php index b920f7478..028e4f0f6 100644 --- a/lib/Controller/ChatController.php +++ b/lib/Controller/ChatController.php @@ -298,6 +298,7 @@ class ChatController extends AEnvironmentAwareController { $this->autoCompleteManager->runSorters(['talk_chat_participants'], $results, [ 'itemType' => 'chat', 'itemId' => (string) $this->room->getId(), + 'search' => $search, ]); $results = $this->prepareResultArray($results); |