fix - repeatitive closed quotas
This commit is contained in:
@@ -535,7 +535,7 @@ class QuotaViewSet(BaseViewSet, SoftDeleteMixin, QuotaDashboardService, viewsets
|
||||
|
||||
# paginate queryset
|
||||
page = self.paginate_queryset(
|
||||
queryset.order_by('-modify_date')
|
||||
queryset.order_by('-modify_date').distinct()
|
||||
)
|
||||
if page is not None: # noqa
|
||||
serializer = self.get_serializer(page, many=True)
|
||||
|
||||
Reference in New Issue
Block a user