mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
parent
3e3cf707de
commit
dfaa4b0968
@ -55,7 +55,10 @@ class ActivityController extends Controller
|
|||||||
$person->getCenter());
|
$person->getCenter());
|
||||||
|
|
||||||
$activities = $em->getRepository('ChillActivityBundle:Activity')
|
$activities = $em->getRepository('ChillActivityBundle:Activity')
|
||||||
->findBy(array('person' => $person, 'scope' => $reachableScopes));
|
->findBy(
|
||||||
|
array('person' => $person, 'scope' => $reachableScopes),
|
||||||
|
array('date' => 'DESC')
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
return $this->render('ChillActivityBundle:Activity:list.html.twig', array(
|
return $this->render('ChillActivityBundle:Activity:list.html.twig', array(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user