Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
esbenp committed Oct 17, 2021
1 parent dfab464 commit 283485a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/EloquentBuilderTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ protected function applyFilterGroups($queryBuilder, array $filterGroups = [], ar
$or = $group['or'];
$filters = $group['filters'];

$queryBuilder->where(function (Builder $query) use ($filters, $or, &$joins) {
$queryBuilder->where(function ($query) use ($filters, $or, &$joins) {
foreach ($filters as $filter) {
$this->applyFilter($query, $filter, $or, $joins);
}
Expand Down

0 comments on commit 283485a

Please sign in to comment.