From 5fcbce1f9e62c780e1ac3fe6161e4a70ba09d86a Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sat, 6 Feb 2021 15:20:58 -0400 Subject: sort album covers before track covers in gallery provided they were released on the same date that is! --- upd8.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upd8.js b/upd8.js index d2ad369a..11c8ad0e 100755 --- a/upd8.js +++ b/upd8.js @@ -2312,7 +2312,7 @@ async function writeArtistPage(artist) { } = artist; const artThingsAll = C.sortByDate(Array.from(new Set([...artist.tracks.asCoverArtist, ...artist.albums.asCoverArtist, ...artist.albums.asWallpaperArtist]))); - const artThingsGallery = C.sortByDate([...artist.tracks.asCoverArtist, ...artist.albums.asCoverArtist]); + const artThingsGallery = C.sortByDate([...artist.albums.asCoverArtist, ...artist.tracks.asCoverArtist]); const commentaryThings = C.sortByDate([...artist.tracks.asCommentator, ...artist.albums.asCommentator]); let flashes; -- cgit 1.3.0-6-gf8a5