Skip to content

Commit

Permalink
Order ranking queue comments by latest first
Browse files Browse the repository at this point in the history
  • Loading branch information
Swan committed Aug 10, 2024
1 parent 69ed63b commit 56a395a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/mapset_ranking_queue_comments.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 56a395a

Please sign in to comment.