diff --git a/apps/authentication/api/v1/api.py b/apps/authentication/api/v1/api.py index e6ab230..a330826 100644 --- a/apps/authentication/api/v1/api.py +++ b/apps/authentication/api/v1/api.py @@ -269,7 +269,7 @@ class OrganizationViewSet(BaseViewSet, ModelViewSet, DynamicSearchMixin): # filter by organization type if 'org_type' in param.keys(): - queryset = queryset.filter(type__id=param.get('org_type', 0)) + queryset = queryset.filter(type__id=int(param.get('org_type', 0))) # filter on search if 'search' in param.keys():