diff options
Diffstat (limited to 'ctrack/caf/views.py')
-rw-r--r-- | ctrack/caf/views.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ctrack/caf/views.py b/ctrack/caf/views.py index e37bbe2..23727d9 100644 --- a/ctrack/caf/views.py +++ b/ctrack/caf/views.py @@ -27,7 +27,8 @@ class ListApplicableSystem(ListView): # probably need a custom manager for this - to add in the POC def get_queryset(self): - ess = ApplicableSystem.objects.all().order_by("organisation__name") +# ess = ApplicableSystem.objects.all().order_by("organisation__name") + ess = ApplicableSystem.objects.with_primary_contact() return ess def get_context_data(self, **kwargs): |