From abde873053de4f2457c7d0f2bc72b7492f01c026 Mon Sep 17 00:00:00 2001 From: IndexZer0 <24657691+IndexZer0@users.noreply.github.com> Date: Sun, 19 May 2024 13:25:57 +0100 Subject: [PATCH] - Use QueryBuilder::for() again. --- src/AllowedRelationshipFilter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AllowedRelationshipFilter.php b/src/AllowedRelationshipFilter.php index b092c10f..51aa2e35 100644 --- a/src/AllowedRelationshipFilter.php +++ b/src/AllowedRelationshipFilter.php @@ -25,7 +25,7 @@ public function filter(QueryBuilder $query, $value): void $this->allowedFilters->each( function (AllowedFilterContract $allowedFilter) use ($query, $value) { $allowedFilter->filter( - $query, + QueryBuilder::for($query), $allowedFilter->getValueFromCollection($value) ); }