Skip to content

Commit 342a6f5

Browse files
authored
Merge pull request #26643 from nextcloud/backport/26633/stable20
[stable20] Make lookup search explicit
2 parents bd16ddd + e5edc58 commit 342a6f5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/files_sharing/lib/Controller/ShareesAPIController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ public function __construct(
137137
* @return DataResponse
138138
* @throws OCSBadRequestException
139139
*/
140-
public function search(string $search = '', string $itemType = null, int $page = 1, int $perPage = 200, $shareType = null, bool $lookup = true): DataResponse {
140+
public function search(string $search = '', string $itemType = null, int $page = 1, int $perPage = 200, $shareType = null, bool $lookup = false): DataResponse {
141141

142142
// only search for string larger than a given threshold
143143
$threshold = (int)$this->config->getSystemValue('sharing.minSearchStringLength', 0);

0 commit comments

Comments
 (0)