summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2021-03-22 21:48:51 +0100
committerGitHub <noreply@github.com>2021-03-22 21:48:51 +0100
commit1c074e76028b65c4158097a35254fbf7ebe8749c (patch)
treecbfa973fdad69df0f06347673575b9481bab09de /core
parent1eb084cfd37875adfe37301dcef7801634f7e28a (diff)
parentb38618c8139a8017590ea59064184307a93f9808 (diff)
downloadnextcloud-server-1c074e76028b65c4158097a35254fbf7ebe8749c.tar.gz
nextcloud-server-1c074e76028b65c4158097a35254fbf7ebe8749c.zip
Merge pull request #26198 from nextcloud/unified-search-node
Handle limit offset and sorting in files search
Diffstat (limited to 'core')
-rw-r--r--core/Controller/SearchController.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/Controller/SearchController.php b/core/Controller/SearchController.php
index 72633630dad..42439e9ceb9 100644
--- a/core/Controller/SearchController.php
+++ b/core/Controller/SearchController.php
@@ -55,6 +55,7 @@ class SearchController extends Controller {
/**
* @NoAdminRequired
+ * @NoCSRFRequired
*/
public function search(string $query, array $inApps = [], int $page = 1, int $size = 30): JSONResponse {
$results = $this->searcher->searchPaged($query, $inApps, $page, $size);