mirror of
https://github.com/graphql-python/graphene-django.git
synced 2024-11-22 17:47:12 +03:00
Fixes filtering in nested nodes.
This commit is contained in:
parent
4246ceaa85
commit
b26f914b54
|
@ -49,6 +49,7 @@ class DjangoConnectionField(ConnectionField):
|
|||
iterable = default_manager
|
||||
iterable = maybe_queryset(iterable)
|
||||
if isinstance(iterable, QuerySet):
|
||||
iterable &= maybe_queryset(default_manager)
|
||||
_len = iterable.count()
|
||||
else:
|
||||
_len = len(iterable)
|
||||
|
|
Loading…
Reference in New Issue
Block a user