We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 887ce27 commit 7bcaba0Copy full SHA for 7bcaba0
src/Query/ScoutBuilder.php
@@ -53,9 +53,6 @@ public function search(array $parameters = [])
53
$this->applyInstructions($parameters['instructions']);
54
});
55
56
- $defaultLimit = $this->resource->defaultLimit ?? 50;
57
- $this->queryBuilder->take($parameters['limit'] ?? $defaultLimit);
58
-
59
$this->queryBuilder
60
->query(function (Builder $query) use ($parameters) {
61
app()->make(QueryBuilder::class, ['query' => $query, 'resource' => $this->resource])
@@ -68,6 +65,7 @@ public function search(array $parameters = [])
68
65
'sorts',
69
66
'text',
70
67
'limit',
+ 'page',
71
])
72
->all()
73
);
0 commit comments