diff --git a/src/EloquentDataProvider.php b/src/EloquentDataProvider.php index 1d730b8..3727fb5 100644 --- a/src/EloquentDataProvider.php +++ b/src/EloquentDataProvider.php @@ -48,6 +48,7 @@ class EloquentDataProvider $this->meta['baseUrl'] = $options['baseUrl'] ?? $model->table; $this->meta['params'] = $options['params'] ?? []; $this->meta['actions'] = $options['actions'] ?? []; + $this->meta['showFiltersRow'] = $options['showFiltersRow'] ?? true; $this->filters = $options['filters'] ?? []; $this->createQuery(); $this->jsonStr = (new JSONCreator($this->meta, $this->getCollection()->toArray(), $this->filters,))->getJson();