Skip to content

Commit 2ce442b

Browse files
authored
Update SearchParameter.php (#60)
!relation.attribute
1 parent 6bc7bfa commit 2ce442b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/RequestParameters/SearchParameter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ protected function makeQuery(Builder $builder, array $arguments, string $boolOpe
9191
continue;
9292
}
9393

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

0 commit comments

Comments
 (0)