aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ctrack/core/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctrack/core/views.py b/ctrack/core/views.py
index 5f5627c..d7efe34 100644
--- a/ctrack/core/views.py
+++ b/ctrack/core/views.py
@@ -12,7 +12,7 @@ def home_page(request):
name=request.user.stakeholder.person.get_organisation_name()
)
irs = IncidentReport.objects.filter(organisation__name=org)
- systems = org.applicablesystem_set.all()
+ systems = org.applicable_systems()
peoples = org.person_set.all()
engagement_events = EngagementEvent.objects.filter(participants__in=peoples)
return render(