From df6b051d1795852b170ed6fbe9ea6b3804b0aa8b Mon Sep 17 00:00:00 2001 From: yuuki <> Date: Fri, 31 May 2024 04:48:11 +0000 Subject: [PATCH] =?UTF-8?q?=E9=80=86=E9=A0=86=E3=81=AB=E3=81=99=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index 9899a6b..a393bb8 100644 --- a/app.py +++ b/app.py @@ -456,7 +456,7 @@ def route_api_preview(): @app.route(basedir + 'api/songs') @app.cache.cached(timeout=15) def route_api_songs(): - songs = list(db.songs.find({'enabled': True}, {'_id': False, 'enabled': False}).limit(1000)) + songs = list(db.songs.find({'enabled': True}, {'_id': False, 'enabled': False}).sort({"order":-1}).limit(1000)) for song in songs: if song['maker_id']: if song['maker_id'] == 0: