Skip to content

Commit

Permalink
fix ordering (#484)
Browse files Browse the repository at this point in the history
  • Loading branch information
ailisp authored Nov 16, 2023
1 parent bb06595 commit 4324a9c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/devhub/entity/addon/blog/Feed.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const query = `query DevhubPostsQuery($limit: Int = 100, $offset: Int = 0, $wher
${queryName}(
limit: $limit
offset: $offset
order_by: {block_height: desc}
order_by: {ts: desc}
where: $where
) {
post_id
Expand Down
2 changes: 1 addition & 1 deletion src/devhub/entity/post/List.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const query = `query DevhubPostsQuery($limit: Int = 100, $offset: Int = 0, $wher
${queryName}(
limit: $limit
offset: $offset
order_by: {block_height: desc}
order_by: {ts: desc}
where: $where
) {
post_id
Expand Down

0 comments on commit 4324a9c

Please sign in to comment.