diff options
author | Matthew Lemon <matt@matthewlemon.com> | 2020-08-28 11:50:26 +0100 |
---|---|---|
committer | Matthew Lemon <matt@matthewlemon.com> | 2020-08-28 11:50:26 +0100 |
commit | d004475e5bde2aae4b69496a481f68b0da6b501a (patch) | |
tree | 613495da2a691fa22c2c5289cf6da2c0ac19bc81 | |
parent | c27cfbc3cb2eb15eed0e1012f5bb8a537d6d9d5e (diff) |
fixed all non-functional tests now
-rw-r--r-- | ctrack/core/views.py | 2 |
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( |