Skip to content

Commit

Permalink
Fix where clause is ambiguous
Browse files Browse the repository at this point in the history
Fix "where clause is ambiguous"
  • Loading branch information
mariusdatakrag committed Oct 2, 2023
1 parent b08c753 commit 9578cf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DataSource/Builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public function filter(): EloquentBuilder|QueryBuilder
foreach ($column as $field => $value) {
if (is_array($value) && $filterType === 'input_text') {
foreach ($value as $arrayField => $arrayValue) {
$filter($query, $filters, $filterType, $arrayField, $arrayValue);
$filter($query, $filters, $filterType, $field . '.' . $arrayField, $arrayValue);
}
} else {
$filter($query, $filters, $filterType, $field, $value);
Expand Down

0 comments on commit 9578cf0

Please sign in to comment.