diff --git a/app/queries/servers/post.ts b/app/queries/servers/post.ts index aae4ed41e..20de39129 100644 --- a/app/queries/servers/post.ts +++ b/app/queries/servers/post.ts @@ -209,6 +209,7 @@ export const queryPinnedPostsInChannel = (database: Database, channelId: string) Q.where('channel_id', channelId), Q.where('is_pinned', Q.eq(true)), ), + Q.sortBy('create_at', Q.asc), ); };