diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2021-04-19 20:05:21 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2021-04-19 20:05:21 +0200 |
commit | dcd45427a6634fc7f302b7f549528e917815335a (patch) | |
tree | 0449a58c69ca9626f8e4d37d94680b2b5b92a67e /apps | |
parent | adab9deb3e33307afa73dc6a3459eae24ec5955e (diff) | |
download | nextcloud-server-dcd45427a6634fc7f302b7f549528e917815335a.tar.gz nextcloud-server-dcd45427a6634fc7f302b7f549528e917815335a.zip |
Make lookup search explicit
Speedsup sharee lookup quite a bit.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_sharing/lib/Controller/ShareesAPIController.php | 2 |
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); |