Skip to content

Commit

Permalink
Order on blogposts.
Browse files Browse the repository at this point in the history
  • Loading branch information
Christoffer Rydeståhl committed Jun 27, 2024
1 parent 2b0bb63 commit c6c351f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Events.astro
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const response = await fetch('https://graphql.datocms.com/', {
home {
title
}
allBlogPosts {
allBlogPosts(first: "3", orderBy: eventStartDate_DESC) {
id
title
body
Expand Down

0 comments on commit c6c351f

Please sign in to comment.