There was an error while loading. Please reload this page.
1 parent bd570f3 commit ecb052cCopy full SHA for ecb052c
src/Adapters/QueryBuilder.php
@@ -19,7 +19,7 @@ public function getResponse() {
19
$total = $builder->getPaginate();
20
21
$this->bind('global_search', function($column, $search) {
22
- $this->builder->orWhere("{$column} LIKE ?0", ["%{$search}%"]);
+ $this->builder->orWhere("{$column} LIKE :key_{$column}:", ["key_{$column}" => "%{$search}%"]);
23
});
24
25
$this->bind('column_search', function($column, $search) {
0 commit comments