Commit 93c5ca19 authored by Niklas de Vries's avatar Niklas de Vries

fix image browsing

parent 3e2b6765
......@@ -55,7 +55,7 @@ class ImageController extends CwdController
public function listAction(Request $request)
{
$service = $this->get('cwd.media.service');
$medias = $service->findAll([], ['id' => 'DESC'], 50, 0);
$medias = $service->findAllImages();
$images = [];
foreach ($medias as $media) {
......
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