fix - dashboard quota search
This commit is contained in:
@@ -367,6 +367,15 @@ class QuotaViewSet(BaseViewSet, SoftDeleteMixin, QuotaDashboardService, viewsets
|
|||||||
dashboard of all quotas & their information
|
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
|
query_param = self.request.query_params # noqa
|
||||||
|
|
||||||
# filter by date
|
# filter by date
|
||||||
|
|||||||
Reference in New Issue
Block a user