mirror of
https://github.com/nextcloud/server.git
synced 2026-06-12 18:21:40 -04:00
Merge pull request #26645 from nextcloud/backport/26633/stable19
[stable19] Make lookup search explicit
This commit is contained in:
commit
d6c3fce82b
1 changed files with 1 additions and 1 deletions
|
|
@ -136,7 +136,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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue