fixed the filter
This commit is contained in:
parent
42a3e34a98
commit
2db8d5cd06
1 changed files with 1 additions and 1 deletions
|
|
@ -162,7 +162,7 @@ class EntityController extends Controller{
|
|||
protected function setQueryFilters($datatable, QueryBuilder $query)
|
||||
{
|
||||
if (isset($datatable['query']['data-rows-search']) && !empty($datatable['query']['data-rows-search'])) {
|
||||
$query->where('q.name LIKE :filter')
|
||||
$query->where('q.item LIKE :filter')
|
||||
->setParameter('filter', '%' . $datatable['query']['data-rows-search'] . '%');
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue