From 4f864611eef4dd84b9fa730c7c53a89b95299b13 Mon Sep 17 00:00:00 2001 From: 283375 Date: Wed, 19 Jun 2024 22:20:31 +0800 Subject: [PATCH] fix: B30 table order (#11) --- ui/extends/shared/models/tables/b30.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/extends/shared/models/tables/b30.py b/ui/extends/shared/models/tables/b30.py index bd20bdf..0509991 100644 --- a/ui/extends/shared/models/tables/b30.py +++ b/ui/extends/shared/models/tables/b30.py @@ -39,7 +39,7 @@ class DbB30TableModel(DbTableModel): (ScoreBest.song_id == Chart.song_id) & (ScoreBest.rating_class == Chart.rating_class), ) - .order_by(ScoreBest.potential) + .order_by(ScoreBest.potential.desc()) .limit(50) .all() )