diff --git a/apps/product/web/api/v1/viewsets/quota_api.py b/apps/product/web/api/v1/viewsets/quota_api.py index 570b899..f717d60 100644 --- a/apps/product/web/api/v1/viewsets/quota_api.py +++ b/apps/product/web/api/v1/viewsets/quota_api.py @@ -359,11 +359,13 @@ class QuotaViewSet(BaseViewSet, SoftDeleteMixin, viewsets.ModelViewSet, DynamicS self.get_queryset(visibility_by_org_scope=True).filter( is_closed=False)) # return by search param or all objects + print(queryset) + # paginate queryset page = self.paginate_queryset( queryset.filter( - Q(assigned_organizations=org) | - Q(registerer_organization=org) + # Q(assigned_organizations=org) | + # Q(registerer_organization=org) ).order_by('-modify_date').distinct() ) if page is not None: # noqa