@@ -162,8 +162,7 @@ |
||
| 162 | 162 | $this->model |
| 163 | 163 | ->whereKey(collect($this->model |
| 164 | 164 | ->search(($request->get('query'))) |
| 165 | - ->raw())->get('ids')) : |
|
| 166 | - $this->model; |
|
| 165 | + ->raw())->get('ids')) : $this->model; |
|
| 167 | 166 | if (array_key_exists('file', $request->toArray())) { |
| 168 | 167 | //TODO add relation on top if here and create a tree flatter array in array helper |
| 169 | 168 | return (new ExcelHelper())->setOptions([ |