def filter_queryset(self, request, queryset, view):
        if self.scope_param in request.query_params:
            content_types = self.get_scope_content_types(request.query_params.getlist(self.scope_param))
            return queryset.filter(**{'%s__in' % self.get_ct_field(queryset.model): content_types})
        return queryset
dataset/ETHPy150Open opennode/nodeconductor/nodeconductor/structure/filters.py/ScopeTypeFilterBackend.filter_queryset/original