@@ -218,8 +218,7 @@ |
||
| 218 | 218 | $this->model |
| 219 | 219 | ->whereKey(collect($this->model |
| 220 | 220 | ->search(($request->get('query'))) |
| 221 | - ->raw())->get('ids')) : |
|
| 222 | - $this->model; |
|
| 221 | + ->raw())->get('ids')) : $this->model; |
|
| 223 | 222 | |
| 224 | 223 | if (array_key_exists('file', $request->toArray())) { |
| 225 | 224 | //TODO add relation on top if here and create a tree flatter array in array helper |