Select all files only for the old include media partials

parent 6e1f87cb
......@@ -31,7 +31,7 @@ class MediaGridController extends AdminBaseController
*/
public function index()
{
$files = $this->file->all();
$files = $this->file->allForGrid();
$thumbnails = $this->thumbnailsManager->all();
return view('media::admin.grid.general', compact('files', 'thumbnails'));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment