aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/core/views.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-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 4584612..c9465f1 100644
--- a/ctrack/core/views.py
+++ b/ctrack/core/views.py
@@ -10,7 +10,7 @@ def home_page(request):
org = Organisation.objects.get(
name=request.user.stakeholder.person.get_organisation_name()
)
- irs = IncidentReport.objects.filter(organisation=org)
+ irs = IncidentReport.objects.filter(organisation__name=org)
systems = org.applicablesystem_set.all()
return render(
request,