diff options
-rw-r--r-- | ctrack/caf/views.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ctrack/caf/views.py b/ctrack/caf/views.py index 405fa0e..f7863d9 100644 --- a/ctrack/caf/views.py +++ b/ctrack/caf/views.py @@ -21,6 +21,10 @@ class ListCAF(ListView): class ListEssentialService(ListView): model = EssentialService + # TODO - add primary_nis_contact tick to the context + # Context can be easily found with: + # org.person_set.filter(primary_nis_contact=True) or similar + def get_queryset(self): ess = EssentialService.objects.all().order_by("organisation__name") return ess |