Skip to content

Commit

Permalink
Merge pull request #52 from maquino1985/master
Browse files Browse the repository at this point in the history
Issue 52: added with labels parameter to subquery call
  • Loading branch information
art1415926535 authored Oct 31, 2021
2 parents 915291d + 65b29c4 commit abfeb11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion graphene_sqlalchemy_filter/connection_field.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def _get_query(self) -> 'Query':
filter_set = self._get_filter_set(self.info)
subquery = filter_set.filter(self.info, subquery, request_filters)

aliased_model = aliased(self.model, subquery.subquery())
aliased_model = aliased(self.model, subquery.subquery(with_labels=True))

query = (
graphene_sqlalchemy.get_query(self.parent_model, self.info.context)
Expand Down

0 comments on commit abfeb11

Please sign in to comment.