We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81cc035 commit b7508e3Copy full SHA for b7508e3
src/Filters/SearchableFilter.php
@@ -42,7 +42,7 @@ public function filter(RestifyRequest $request, $query, $value)
42
// Check if the attribute is already qualified (contains a dot)
43
$qualifiedColumn = str_contains($attribute, '.')
44
? $attribute
45
- : $relatedTable . '.' . $attribute;
+ : $relatedTable.'.'.$attribute;
46
47
$query->orWhere($qualifiedColumn, $likeOperator, "%{$value}%");
48
});
0 commit comments