From 8399e73bb37438bf3cf8a3c31ee08093050df5c0 Mon Sep 17 00:00:00 2001 From: Wessie Date: Thu, 20 Jun 2024 17:45:59 +0100 Subject: [PATCH] storage/mariadb: sort SongStorage.FavoritesOf result like before --- storage/mariadb/track.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/storage/mariadb/track.go b/storage/mariadb/track.go index 1ba7dd4..f61985e 100644 --- a/storage/mariadb/track.go +++ b/storage/mariadb/track.go @@ -496,7 +496,8 @@ AS (SELECT DISTINCT JOIN esong ON esong.id = efave.isong WHERE - enick.nick = ?) + enick.nick = ? + ORDER BY efave.id) SELECT {songColumns}, {maybeTrackColumns},