diff --git a/calendrier/views.py b/calendrier/views.py index 6d2fc07..26e7a6c 100644 --- a/calendrier/views.py +++ b/calendrier/views.py @@ -287,7 +287,7 @@ class ViewEvent(LoginRequiredMixin, TemplateView): context["event"] = event context["instrument_count"] = instrument_count_l - context["participants"] = participants + context["participants"] = participants.order_by('-creationDate') context["nboui"] = len(participants.filter(reponse="oui")) context["nbpe"] = len(participants.filter(reponse="pe")) context["nbnon"] = len(participants.filter(reponse="non"))