Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions ayon_api/graphql.py
Original file line number Diff line number Diff line change
Expand Up @@ -959,6 +959,12 @@ def get_filters(self) -> dict[str, Any]:
if total > self._limit:
limit_amount = self._limit - self._fetched_counter

if self.child_has_edges:
# Nested edge fields share a single cursor argument in the query.
# Query one parent item at a time so child pagination can't be
# overwritten by another parent from the same outer page.
limit_amount = 1

filters[limit_key] = limit_amount

if self._cursor:
Expand Down
Loading