aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2021-04-20 15:28:08 +0200
committerGitHub <noreply@github.com>2021-04-20 15:28:08 +0200
commitc580dd5fe99f6daf4051ab8b99842ffe800bf17f (patch)
treee1685cb6ef9545cb4f5ff370371897673a0c7013
parentf915efc85904d33c1ea47f547186d0cdfbf498dc (diff)
parentf7d88b0b5a668a21d98a481fc16fae1201050138 (diff)
downloadnextcloud-server-c580dd5fe99f6daf4051ab8b99842ffe800bf17f.tar.gz
nextcloud-server-c580dd5fe99f6daf4051ab8b99842ffe800bf17f.zip
Merge pull request #26641 from nextcloud/backport/26633/stable21
[stable21] 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 33ac1662a4d..97da38fd1c8 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 = (int)$this->config->getSystemValue('sharing.minSearchStringLength', 0);