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.
2 parents ef69a2b + 8d9a7e0 commit 9cfb86bCopy full SHA for 9cfb86b
src/Filters/FiltersPartial.php
@@ -8,7 +8,7 @@ class FiltersPartial implements Filter
8
{
9
public function __invoke(Builder $query, $value, string $property): Builder
10
11
- $sql = "LOWER({$property}) LIKE ?";
+ $sql = "LOWER(`{$property}`) LIKE ?";
12
13
if (is_array($value)) {
14
return $query->where(function (Builder $query) use ($value, $sql) {
0 commit comments