fix: correctly filter for adoption notices
This commit is contained in:
		@@ -374,7 +374,7 @@ class LocationApiView(APIView):
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
class AdoptionNoticeGeoJSONView(ListAPIView):
 | 
					class AdoptionNoticeGeoJSONView(ListAPIView):
 | 
				
			||||||
    queryset = AdoptionNotice.objects.select_related('location').filter(location__isnull=False).filter(
 | 
					    queryset = AdoptionNotice.objects.select_related('location').filter(location__isnull=False).filter(
 | 
				
			||||||
        adoption_notice_status__in=AdoptionNoticeStatusChoices.Active.choices)
 | 
					        adoption_notice_status__in=AdoptionNoticeStatusChoices.Active.values)
 | 
				
			||||||
    serializer_class = AdoptionNoticeGeoJSONSerializer
 | 
					    serializer_class = AdoptionNoticeGeoJSONSerializer
 | 
				
			||||||
    renderer_classes = [GeoJSONRenderer]
 | 
					    renderer_classes = [GeoJSONRenderer]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user