diff --git a/apis_core/core/mixins.py b/apis_core/core/mixins.py index 60eba5cdd..110267658 100644 --- a/apis_core/core/mixins.py +++ b/apis_core/core/mixins.py @@ -40,6 +40,8 @@ class ListViewObjectFilterMixin: """ def filter_queryset(self, queryset): + if hasattr(super(), "filter_queryset"): + queryset = super().filter_queryset(queryset) if hasattr(settings, "APIS_LIST_VIEW_OBJECT_FILTER"): return settings.APIS_LIST_VIEW_OBJECT_FILTER(self, queryset) return queryset