Skip to content

Commit

Permalink
fix: order user proposals correctly (#971)
Browse files Browse the repository at this point in the history
  • Loading branch information
baiirun authored Jan 10, 2025
1 parent eecac58 commit 91ca68f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/web/core/io/fetch-proposals-by-user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const getFetchUserProposalsQuery = (createdBy: string, skip: number, spaceId?: s
.join(' ');

return `query {
proposals(first: 5, filter: {${filter}}, orderBy: CREATED_AT_DESC, offset: ${skip}) {
proposals(first: 5, filter: {${filter}}, orderBy: EDIT_BY_EDIT_ID__CREATED_AT_DESC, offset: ${skip}) {
nodes {
id
name
Expand Down

0 comments on commit 91ca68f

Please sign in to comment.