From 5a62e4de5df3777be12d9193dac019ab3f76300e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikola=20Ga=C5=A1pari=C4=87?= Date: Wed, 4 Sep 2024 12:00:28 +0200 Subject: [PATCH] Update SearchParameter.php !relation.attribute --- src/RequestParameters/SearchParameter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/RequestParameters/SearchParameter.php b/src/RequestParameters/SearchParameter.php index f12f0c4..f8ec935 100644 --- a/src/RequestParameters/SearchParameter.php +++ b/src/RequestParameters/SearchParameter.php @@ -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);