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

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2021-04-19 21:05:21 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2021-04-19 21:05:21 +0300
commitdcd45427a6634fc7f302b7f549528e917815335a (patch)
tree0449a58c69ca9626f8e4d37d94680b2b5b92a67e /apps/files_sharing/lib
parentadab9deb3e33307afa73dc6a3459eae24ec5955e (diff)
Make lookup search explicit
Speedsup sharee lookup quite a bit. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/files_sharing/lib')
-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);