Skip to content

Commit

Permalink
Fix issues with filters
Browse files Browse the repository at this point in the history
  • Loading branch information
vigneshhari committed Jan 5, 2025
1 parent d74dbc5 commit 60eb04d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion care/emr/api/viewsets/organization.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class OrganizationFilter(filters.FilterSet):
parent = filters.UUIDFilter(field_name="parent__external_id")
name = filters.CharFilter(field_name="name", lookup_expr="icontains")
org_type = filters.CharFilter(field_name="org_type", lookup_expr="iexact")

level_cache = filters.NumberFilter(field_name="level_cache")

class OrganizationPublicViewSet(EMRModelReadOnlyViewSet):
database_model = Organization
Expand Down

0 comments on commit 60eb04d

Please sign in to comment.