From f4013c57379abd52d3adda948bc77033ece374b8 Mon Sep 17 00:00:00 2001 From: rithviknishad Date: Wed, 22 Nov 2023 21:46:01 +0530 Subject: [PATCH] Support filtering daily rounds by `taken_at` range --- care/facility/api/viewsets/daily_round.py | 1 + 1 file changed, 1 insertion(+) diff --git a/care/facility/api/viewsets/daily_round.py b/care/facility/api/viewsets/daily_round.py index 06bbcb6a5c..fca074ec28 100644 --- a/care/facility/api/viewsets/daily_round.py +++ b/care/facility/api/viewsets/daily_round.py @@ -20,6 +20,7 @@ class DailyRoundFilterSet(filters.FilterSet): rounds_type = filters.CharFilter(method="filter_rounds_type") + taken_at = filters.DateTimeFromToRangeFilter() def filter_rounds_type(self, queryset, name, value): rounds_type = set()