From 860716427729674a23a44a3ec9402e32defc8676 Mon Sep 17 00:00:00 2001 From: Sem Bauke Date: Thu, 12 Feb 2026 12:35:46 +0100 Subject: [PATCH] fix(client): use new sorting syntax for graphql in gatsby-node.js (#65849) --- .../gatsby-source-challenges/gatsby-node.js | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/tools/client-plugins/gatsby-source-challenges/gatsby-node.js b/tools/client-plugins/gatsby-source-challenges/gatsby-node.js index 0f41169fe86..dc72bc6aef3 100644 --- a/tools/client-plugins/gatsby-source-challenges/gatsby-node.js +++ b/tools/client-plugins/gatsby-source-challenges/gatsby-node.js @@ -258,13 +258,11 @@ exports.createPagesStatefully = async function ({ graphql, actions }) { const result = await graphql(` { allChallengeNode( - sort: { - fields: [ - challenge___superOrder - challenge___order - challenge___challengeOrder - ] - } + sort: [ + { challenge: { superOrder: ASC } } + { challenge: { order: ASC } } + { challenge: { challengeOrder: ASC } } + ] ) { edges { node {