aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/organisations/views.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ctrack/organisations/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctrack/organisations/views.py b/ctrack/organisations/views.py
index de6d819..9658abf 100644
--- a/ctrack/organisations/views.py
+++ b/ctrack/organisations/views.py
@@ -83,7 +83,7 @@ class OrganisationDetailView(LoginRequiredMixin, PermissionRequiredMixin, Detail
org = kwargs["object"]
peoples = org.person_set.all()
cafs = org.caf_set.all()
- engagement_events = EngagementEvent.objects.filter(participants__in=peoples)
+ engagement_events = EngagementEvent.objects.filter(participants__in=peoples).order_by("-date")
essential_services = EssentialService.objects.filter(organisation=org)
no_addr = org.addresses.count()
if no_addr > 1: