summaryrefslogtreecommitdiffstats
path: root/lib/private/Collaboration
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2021-12-08 16:59:32 +0100
committerJoas Schilling <coding@schilljs.com>2021-12-08 18:54:42 +0100
commit0f1670be8a1fa25ebab9b5d7bdf074adf1587e4d (patch)
treec9a5b8d4b8437f4f8c506678bf8c86ba4e0f02e5 /lib/private/Collaboration
parent84d37143b0acc1f8b9f06e7609d31f3452ffa555 (diff)
downloadnextcloud-server-0f1670be8a1fa25ebab9b5d7bdf074adf1587e4d.tar.gz
nextcloud-server-0f1670be8a1fa25ebab9b5d7bdf074adf1587e4d.zip
Only limit search in the system address book
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private/Collaboration')
-rw-r--r--lib/private/Collaboration/Collaborators/MailPlugin.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/Collaboration/Collaborators/MailPlugin.php b/lib/private/Collaboration/Collaborators/MailPlugin.php
index 59861247ced..7c245c4f9c4 100644
--- a/lib/private/Collaboration/Collaborators/MailPlugin.php
+++ b/lib/private/Collaboration/Collaborators/MailPlugin.php
@@ -107,7 +107,8 @@ class MailPlugin implements ISearchPlugin {
[
'limit' => $limit,
'offset' => $offset,
- 'wildcard' => $this->shareeEnumeration,
+ 'enumeration' => $this->shareeEnumeration,
+ 'fullmatch' => $this->shareeEnumerationFullMatch,
]
);
$lowerSearch = strtolower($search);