Skip to content

Commit d53b99d

Browse files
authored
Adjust default comment sort order (#8409)
Reorder the defaultSort array so comments are sorted by metadata.creationTimestamp first, then status.lastReplyTime. This updates the default listing behavior to prioritize creation time before last reply time.
1 parent ac20f85 commit d53b99d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ui/console-src/modules/contents/comments/composables/use-comments-fetch.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ export default function useCommentsFetch(
3838
.filter(Boolean) as string[];
3939

4040
const defaultSort = [
41-
"status.lastReplyTime,desc",
4241
"metadata.creationTimestamp,desc",
42+
"status.lastReplyTime,desc",
4343
];
4444

4545
const { data } = await consoleApiClient.content.comment.listComments({

0 commit comments

Comments
 (0)