From 6a7a097039c45b0f314465f65b11dffc9014b155 Mon Sep 17 00:00:00 2001 From: Christian Reiter Date: Mon, 26 Dec 2016 18:22:59 +0100 Subject: [PATCH] Revert "Remove qs" This reverts commit 121f943c3f4b116ce34411a0015005ce0055e773. --- graphene_django/filter/fields.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphene_django/filter/fields.py b/graphene_django/filter/fields.py index b1f304a..0d08ab8 100644 --- a/graphene_django/filter/fields.py +++ b/graphene_django/filter/fields.py @@ -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)