diff --git a/api/providers/views.py b/api/providers/views.py index 4018c9c40f0b..60563c8b0c2c 100644 --- a/api/providers/views.py +++ b/api/providers/views.py @@ -15,7 +15,7 @@ InvalidFilterOperator, InvalidFilterValue, ) -from api.base.filters import PreprintFilterMixin, ListFilterMixin +from api.base.filters import ListFilterMixin, PreprintFilterMixin, PreprintProviderWithdrawRequestFilterMixin from api.base.metrics import PreprintMetricsViewMixin from api.base.pagination import MaxSizePagination, IncreasedPageSizePagination from api.base.settings import BULK_SETTINGS @@ -571,7 +571,7 @@ def perform_create(self, serializer): raise ValidationError(f'Provider {provider.name} has no primary collection to submit to.') -class PreprintProviderWithdrawRequestList(JSONAPIBaseView, generics.ListAPIView, ListFilterMixin, ProviderMixin): +class PreprintProviderWithdrawRequestList(JSONAPIBaseView, generics.ListAPIView, PreprintProviderWithdrawRequestFilterMixin, ProviderMixin): provider_class = PreprintProvider permission_classes = ( drf_permissions.IsAuthenticated,