Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
13b54a563d | |||
a3b5f5fa0c |
@ -48,6 +48,8 @@ class EloquentDataProvider
|
||||
$this->meta['baseUrl'] = $options['baseUrl'] ?? $model->table;
|
||||
$this->meta['params'] = $options['params'] ?? [];
|
||||
$this->meta['actions'] = $options['actions'] ?? [];
|
||||
$this->meta['searchPrefix'] = $options['searchPrefix'] ?? '/search';
|
||||
$this->meta['showFiltersRow'] = $options['showFiltersRow'] ?? true;
|
||||
$this->filters = $options['filters'] ?? [];
|
||||
$this->createQuery();
|
||||
$this->jsonStr = (new JSONCreator($this->meta, $this->getCollection()->toArray(), $this->filters,))->getJson();
|
||||
|
Reference in New Issue
Block a user