@@ -154,8 +154,7 @@ |
||
154 | 154 | $this->model |
155 | 155 | ->whereKey(collect($this->model |
156 | 156 | ->search(($request->get('query'))) |
157 | - ->raw())->get('ids')) : |
|
158 | - $this->model; |
|
157 | + ->raw())->get('ids')) : $this->model; |
|
159 | 158 | if (array_key_exists('file', $request->toArray())) { |
160 | 159 | //TODO add relation on top if here and create a tree flatter array in array helper |
161 | 160 | return (new ExcelHelper())->setOptions([ |