Browse Source

On remets le tri dans le bon sens

François 6 years ago
parent
commit
a18bde35dd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/AppBundle/Controller/VideothequeController.php

+ 1 - 1
src/AppBundle/Controller/VideothequeController.php

@@ -28,7 +28,7 @@ class VideothequeController extends Controller
 	{
 	{
 		$em = $this->getDoctrine()->getManager();
 		$em = $this->getDoctrine()->getManager();
 		$repo = $em->getRepository('AppBundle:Film');
 		$repo = $em->getRepository('AppBundle:Film');
-		$listeFilms = $repo->findTousDesc();
+		$listeFilms = $repo->findAll();
 
 
 		return $this->render('@App/videotheque/liste.html.twig', array(
 		return $this->render('@App/videotheque/liste.html.twig', array(
 			'listeFilms'	=>	$listeFilms
 			'listeFilms'	=>	$listeFilms