fix JSON creator

This commit is contained in:
2024-08-08 11:15:07 +03:00
parent cba0498e7d
commit 850b0b315a
2 changed files with 2 additions and 3 deletions

View File

@ -50,7 +50,7 @@ class EloquentDataProvider
$this->meta['actions'] = $options['actions'] ?? [];
$this->filters = $options['filters'] ?? [];
$this->createQuery();
$this->jsonStr = (new JSONCreator($this->meta, $this->filters, $this->getCollection()->toArray()))->getJson();
$this->jsonStr = (new JSONCreator($this->meta, $this->getCollection()->toArray(), $this->filters,))->getJson();
}
public function createQuery(): void