Skip to content

Commit

Permalink
Order by id instead of send_occurred_at
Browse files Browse the repository at this point in the history
  • Loading branch information
jmrossy committed Mar 14, 2024
1 parent d0f80ad commit 4f1a872
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/features/messages/queries/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export function buildMessageSearchQuery(
${whereClause}
]
},
order_by: {send_occurred_at: desc},
order_by: {id: desc},
limit: ${limit}
) {
${useStub ? messageStubFragment : messageDetailsFragment}
Expand Down

0 comments on commit 4f1a872

Please sign in to comment.