« get me outta code hell

sort album covers before track covers in gallery - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
author(quasar) nebula <towerofnix@gmail.com>2021-02-06 15:20:58 -0400
committer(quasar) nebula <towerofnix@gmail.com>2021-02-06 15:20:58 -0400
commit5fcbce1f9e62c780e1ac3fe6161e4a70ba09d86a (patch)
tree39d57e2965fb10b1d328de0c660655858fbd90f6
parent63070dd61053a7b34f76583c7dd441bb758e8188 (diff)
sort album covers before track covers in gallery
provided they were released on the same date that is!
-rwxr-xr-xupd8.js2
1 files changed, 1 insertions, 1 deletions
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;