|
|
|
@ -65,7 +65,7 @@ class OrganizationMapFilterAPIView(ListAPIView):
|
|
|
|
|
serializer_class = OrganizationListSerializer
|
|
|
|
|
|
|
|
|
|
def get_queryset(self):
|
|
|
|
|
ids = list(map(int, self.request.query_params.get('id')))
|
|
|
|
|
ids = list(map(int, self.request.query_params.get('id').split(',')))
|
|
|
|
|
coords1 = (float(self.request.query_params.get('lat1')), float(self.request.query_params.get('lon1')))
|
|
|
|
|
coords2 = (float(self.request.query_params.get('lat2')), float(self.request.query_params.get('lon2')))
|
|
|
|
|
if ids and coords1 and coords2:
|
|
|
|
|