From a3b5f5fa0c017e7779d9592110392d581fe62b9a Mon Sep 17 00:00:00 2001 From: stasbilay02 Date: Mon, 23 Dec 2024 15:05:02 +0300 Subject: [PATCH] fix filter row --- src/EloquentDataProvider.php | 1 + 1 file changed, 1 insertion(+) 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();