Skip to content

Commit

Permalink
Update SearchParameter.php (#60)
Browse files Browse the repository at this point in the history
!relation.attribute
  • Loading branch information
ngaspari authored Sep 4, 2024
1 parent 6bc7bfa commit 2ce442b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RequestParameters/SearchParameter.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ protected function makeQuery(Builder $builder, array $arguments, string $boolOpe
continue;
}

if ($this->isRelationSearch($key)) {
if ($this->isRelationSearch($key) && !str_contains($key, '!')) {
// relation search
[$rel, $attr] = explode(self::RELATION_SEPARATOR, $key, 2);

Expand Down

0 comments on commit 2ce442b

Please sign in to comment.