diff --git a/facilities/filters/facility_filters.py b/facilities/filters/facility_filters.py index ce12d6b7..afbbcc8a 100644 --- a/facilities/filters/facility_filters.py +++ b/facilities/filters/facility_filters.py @@ -132,6 +132,12 @@ class FacilityServiceRatingFilter(CommonFieldsFilterset): lookup_type='exact') service = django_filters.AllValuesFilter( name="facility_service__service", lookup_type='exact') + county = django_filters.AllValuesFilter( + name="facility_service__ward__constituency__county", lookup_type='exact') + constituency = django_filters.AllValuesFilter( + name="facility_service__ward__constituency", lookup_type='exact') + ward = django_filters.AllValuesFilter( + name="facility_service__ward", lookup_type='exact') class Meta(object): model = FacilityServiceRating