Skip to content

Commit

Permalink
re-add options for search requests (#734)
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickweh authored May 9, 2023
1 parent 0d0e59c commit eb1c4f2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Engines/MeilisearchEngine.php
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,8 @@ protected function performSearch(Builder $builder, array $searchParams = [])
{
$meilisearch = $this->meilisearch->index($builder->index ?: $builder->model->searchableAs());

$searchParams = array_merge($builder->options, $searchParams);

if ($builder->callback) {
$result = call_user_func(
$builder->callback,
Expand Down

0 comments on commit eb1c4f2

Please sign in to comment.