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(`
{
allChallengeNode(
sort: {
fields: [
challenge___superOrder
challenge___order
challenge___challengeOrder
]
}
sort: [
{ challenge: { superOrder: ASC } }
{ challenge: { order: ASC } }
{ challenge: { challengeOrder: ASC } }
]
) {
edges {
node {