sort events by date (DESC)

This commit is contained in:
2019-01-17 15:13:02 +01:00
parent 42c9a24472
commit c235fb75a7
2 changed files with 3 additions and 11 deletions

View File

@@ -294,6 +294,7 @@ class EventController extends Controller
JOIN participation.event event
WHERE participation.person = :person_id
AND event.circle IN (:reachable_circles)
ORDER BY event.date DESC
")
->setParameters(array(
':person_id' => $person_id,