We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d2201cf + ed18e45 commit 2cdf288Copy full SHA for 2cdf288
1 file changed
ayon_api/graphql.py
@@ -959,6 +959,12 @@ def get_filters(self) -> dict[str, Any]:
959
if total > self._limit:
960
limit_amount = self._limit - self._fetched_counter
961
962
+ if self.child_has_edges:
963
+ # Nested edge fields share a single cursor argument in the query.
964
+ # Query one parent item at a time so child pagination can't be
965
+ # overwritten by another parent from the same outer page.
966
+ limit_amount = 1
967
+
968
filters[limit_key] = limit_amount
969
970
if self._cursor:
0 commit comments