We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd3e506 commit fea45aaCopy full SHA for fea45aa
1 file changed
ayon_api/graphql.py
@@ -1010,7 +1010,11 @@ def calculate_query(self) -> str:
1010
# Add page information
1011
output.append(edges_offset + "pageInfo {")
1012
for page_key in (
1013
- "endCursor",
+ (
1014
+ "endCursor"
1015
+ if self._order == SortOrder.ascending
1016
+ else "startCursor"
1017
+ ),
1018
(
1019
"hasNextPage"
1020
if self._order == SortOrder.ascending
0 commit comments