Skip to content

Commit

Permalink
fix(www): add proper sorting for featured starters in Homepage Ecosys…
Browse files Browse the repository at this point in the history
…tem section (#10096)

Instead by `slug` we sort the starters by `stars` (DESC) - solving #10085 (comment)
  • Loading branch information
greglobinski authored and pieh committed Nov 22, 2018
1 parent f2c1fc2 commit bafdfec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ export const pageQuery = graphql`
filter: {
fields: { starterShowcase: { slug: { in: $featuredStarters } } }
}
sort: { fields: [fields___starterShowcase___slug] }
sort: { order: DESC, fields: [fields___starterShowcase___stars] }
) {
edges {
node {
Expand Down

0 comments on commit bafdfec

Please sign in to comment.