Skip to content

Commit

Permalink
Support filtering daily rounds by taken_at range (#1726)
Browse files Browse the repository at this point in the history
  • Loading branch information
rithviknishad authored Dec 1, 2023
1 parent ae43cde commit 8bdbb42
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions care/facility/api/viewsets/daily_round.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 8bdbb42

Please sign in to comment.