fix filter row
This commit is contained in:
parent
708045664c
commit
a3b5f5fa0c
@ -48,6 +48,7 @@ class EloquentDataProvider
|
|||||||
$this->meta['baseUrl'] = $options['baseUrl'] ?? $model->table;
|
$this->meta['baseUrl'] = $options['baseUrl'] ?? $model->table;
|
||||||
$this->meta['params'] = $options['params'] ?? [];
|
$this->meta['params'] = $options['params'] ?? [];
|
||||||
$this->meta['actions'] = $options['actions'] ?? [];
|
$this->meta['actions'] = $options['actions'] ?? [];
|
||||||
|
$this->meta['showFiltersRow'] = $options['showFiltersRow'] ?? true;
|
||||||
$this->filters = $options['filters'] ?? [];
|
$this->filters = $options['filters'] ?? [];
|
||||||
$this->createQuery();
|
$this->createQuery();
|
||||||
$this->jsonStr = (new JSONCreator($this->meta, $this->getCollection()->toArray(), $this->filters,))->getJson();
|
$this->jsonStr = (new JSONCreator($this->meta, $this->getCollection()->toArray(), $this->filters,))->getJson();
|
||||||
|
Loading…
Reference in New Issue
Block a user