Skip to content

Commit

Permalink
Merge pull request #26641 from nextcloud/backport/26633/stable21
Browse files Browse the repository at this point in the history
[stable21] Make lookup search explicit
  • Loading branch information
MorrisJobke authored Apr 20, 2021
2 parents f915efc + f7d88b0 commit c580dd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/files_sharing/lib/Controller/ShareesAPIController.php
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ public function __construct(
* @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);
Expand Down

0 comments on commit c580dd5

Please sign in to comment.