Revert "Remove qs"

This reverts commit 121f943c3f.
This commit is contained in:
Christian Reiter 2016-12-26 18:22:59 +01:00
parent 121f943c3f
commit 6a7a097039

View File

@ -29,7 +29,7 @@ class DjangoFilterConnectionField(DjangoConnectionField):
qs = resolver(root, args, context, info)
if qs is None:
qs = default_manager.get_queryset()
qs = filterset_class(data=filter_kwargs, queryset=qs)
qs = filterset_class(data=filter_kwargs, queryset=qs).qs
return qs
return DjangoConnectionField.connection_resolver(new_resolver, connection, None, root, args, context, info)