From 56a395a8606b253f488af8d698a14f3ec17538cc Mon Sep 17 00:00:00 2001 From: Swan Date: Sat, 10 Aug 2024 18:30:39 -0400 Subject: [PATCH] Order ranking queue comments by latest first --- db/mapset_ranking_queue_comments.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/mapset_ranking_queue_comments.go b/db/mapset_ranking_queue_comments.go index 815509e..a80778b 100644 --- a/db/mapset_ranking_queue_comments.go +++ b/db/mapset_ranking_queue_comments.go @@ -73,7 +73,7 @@ func GetRankingQueueComments(mapsetId int) ([]*MapsetRankingQueueComment, error) result := SQL. Joins("User"). Where("mapset_id = ?", mapsetId). - Order("Id ASC"). + Order("id DESC"). Find(&comments) if result.Error != nil {