fix JSON creator
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user