Skip to content

Commit 0326d6d

Browse files
Merge pull request #17 from devaction-labs/fix/filter-json
Fix/filter json
2 parents 596642c + 55da3ec commit 0326d6d

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"email": "alex@devaction.com.br"
1010
}
1111
],
12-
"version": "v1.0.20",
12+
"version": "v1.0.21",
1313
"require": {
1414
"php": "^8.2|^8.3|^8.4",
1515
"illuminate/cache": "^12.2",

src/Filter.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,6 @@ public function setValueFromRequest(): void
4646
$value = explode(',', $value);
4747
}
4848

49-
if ($this->jsonPath !== null && $this->jsonPath !== '' && $this->jsonPath !== '0') {
50-
$value = $this->extractJsonValue($value);
51-
}
52-
5349
if ($this->operator === 'LIKE') {
5450
$value = str_replace('{{value}}', $value, $this->likePattern);
5551
}

0 commit comments

Comments
 (0)