Skip to content

Commit 2f85cc0

Browse files
hot-fix-comment-sorting
1 parent 903a4b8 commit 2f85cc0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

backend/bugget-api/Bugget.DA/Postgres/CommentsObsoleteDbClient.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ public async Task<CommentDbModel[]> ListCommentsAsync(int reportId, int bugId)
4040
return jsonResults
4141
.Where(json => json != null)
4242
.Select(json => Deserialize<CommentDbModel>(json)!)
43+
.OrderBy(c => c.CreatedAt)
4344
.ToArray();
4445
}
4546

0 commit comments

Comments
 (0)