diff --git a/apps/product/web/api/v1/viewsets/quota_api.py b/apps/product/web/api/v1/viewsets/quota_api.py index cb4a608..2210109 100644 --- a/apps/product/web/api/v1/viewsets/quota_api.py +++ b/apps/product/web/api/v1/viewsets/quota_api.py @@ -367,6 +367,15 @@ class QuotaViewSet(BaseViewSet, SoftDeleteMixin, QuotaDashboardService, viewsets dashboard of all quotas & their information """ + search_fields = [ + "quota__registerer_organization__name", + "quota__quota_id", + "quota__product__name", + "quota__sale_type", + "quota__sale_unit__unit", + "quota__group", + "quota__creator_info", + ] query_param = self.request.query_params # noqa # filter by date