diff --git a/src/features/messages/queries/build.ts b/src/features/messages/queries/build.ts index 1e364ad..d6d52bf 100644 --- a/src/features/messages/queries/build.ts +++ b/src/features/messages/queries/build.ts @@ -100,7 +100,7 @@ export function buildMessageSearchQuery( ${whereClause} ] }, - order_by: {send_occurred_at: desc}, + order_by: {id: desc}, limit: ${limit} ) { ${useStub ? messageStubFragment : messageDetailsFragment}