Commit 2d12c012 authored by Chrystel Moreau's avatar Chrystel Moreau
Browse files

add order by pour les organismes

parent 3fd199ca
Pipeline #1997 passed with stages
in 2 minutes and 8 seconds
......@@ -40,7 +40,8 @@ final class InscriptionAction
if ($request->isGet()) {
$organismesRepository = $this->em->getRepository('App\Entity\Organisme');
$organismes = $organismesRepository->findAll();
//$organismes = $organismesRepository->findAll(array('order'=>'label ASC'));
$organismes = $organismesRepository->findBy(array(), array('label' => 'ASC'));
$reseauxRepository = $this->em->getRepository('App\Entity\Reseau');
$reseaux1 = $reseauxRepository->findBy(array('display' => 1));
......
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