fix(client): use new sorting syntax for graphql in gatsby-node.js (#65849)

This commit is contained in:
Sem Bauke
2026-02-12 12:35:46 +01:00
committed by GitHub
parent 906344f567
commit 8607164277
@@ -258,13 +258,11 @@ exports.createPagesStatefully = async function ({ graphql, actions }) {
const result = await graphql(` const result = await graphql(`
{ {
allChallengeNode( allChallengeNode(
sort: { sort: [
fields: [ { challenge: { superOrder: ASC } }
challenge___superOrder { challenge: { order: ASC } }
challenge___order { challenge: { challengeOrder: ASC } }
challenge___challengeOrder ]
]
}
) { ) {
edges { edges {
node { node {