aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2021-04-20 05:38:00 -0100
committerGitHub <noreply@github.com>2021-04-20 05:38:00 -0100
commit59f8685af24a4777a908af25110f5b34cf2cf90c (patch)
tree38ee46a44ab01a621d98b2ea113e03b5311e9f9f
parent79116e825c5a9908f270716d8819437e6bef6708 (diff)
parentdcd45427a6634fc7f302b7f549528e917815335a (diff)
downloadnextcloud-server-59f8685af24a4777a908af25110f5b34cf2cf90c.tar.gz
nextcloud-server-59f8685af24a4777a908af25110f5b34cf2cf90c.zip
Merge pull request #26633 from nextcloud/enh/sharee/lookup_later
Make lookup search explicit
-rw-r--r--apps/files_sharing/lib/Controller/ShareesAPIController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/Controller/ShareesAPIController.php b/apps/files_sharing/lib/Controller/ShareesAPIController.php
index ed809e7658d..8018f99e49a 100644
--- a/apps/files_sharing/lib/Controller/ShareesAPIController.php
+++ b/apps/files_sharing/lib/Controller/ShareesAPIController.php
@@ -141,7 +141,7 @@ class ShareesAPIController extends OCSController {
* @return DataResponse
* @throws OCSBadRequestException
*/
- public function search(string $search = '', string $itemType = null, int $page = 1, int $perPage = 200, $shareType = null, bool $lookup = true): DataResponse {
+ public function search(string $search = '', string $itemType = null, int $page = 1, int $perPage = 200, $shareType = null, bool $lookup = false): DataResponse {
// only search for string larger than a given threshold
$threshold = $this->config->getSystemValueInt('sharing.minSearchStringLength', 0);