Skip to content

Commit 27483be

Browse files
committed
fix(search): Limit maximum number of search results
Signed-off-by: Joas Schilling <coding@schilljs.com>
1 parent f816957 commit 27483be

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/Controller/UnifiedSearchController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public function search(string $providerId,
104104
new SearchQuery(
105105
$term,
106106
$sortOrder ?? ISearchQuery::SORT_DATE_DESC,
107-
$limit ?? SearchQuery::LIMIT_DEFAULT,
107+
$limit,
108108
$cursor,
109109
$route,
110110
$routeParameters

0 commit comments

Comments
 (0)