diff --git a/backend/rest_api/views.py b/backend/rest_api/views.py index dd23476..33b256f 100644 --- a/backend/rest_api/views.py +++ b/backend/rest_api/views.py @@ -199,7 +199,7 @@ def active(self, request, *args, **kwargs): ) if len(self.request.query_params) == 0: previous_date, previous_temporal_segment = get_previous_temporal_segment() - # queryset = queryset.filter(timestamp__date=previous_date, temporal_segment=previous_temporal_segment) + queryset = queryset.filter(timestamp__date=previous_date, temporal_segment=previous_temporal_segment) response = dict( count=queryset.count(), results=queryset