« get me outta code hell

sort art galleries reverse-chronologically (again) - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/page
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-04-27 15:39:55 -0300
committer(quasar) nebula <qznebula@protonmail.com>2023-04-27 15:39:55 -0300
commit878a96cb223783ef1b100fdb3bb9d795404c44f5 (patch)
tree955e9a4bc2c6efcab315205a98fe19bf82e0212b /src/page
parent7233eeffbbb5fe02113ea7e18322eaeec520f79e (diff)
sort art galleries reverse-chronologically (again)
Fixes #170.
Diffstat (limited to 'src/page')
-rw-r--r--src/page/artist.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/page/artist.js b/src/page/artist.js
index 87859c89..29e4aba6 100644
--- a/src/page/artist.js
+++ b/src/page/artist.js
@@ -40,7 +40,7 @@ export function write(artist, {wikiData}) {
       ...(artist.albumsAsCoverArtist ?? []),
       ...(artist.tracksAsCoverArtist ?? []),
     ],
-    {getDate: (o) => o.coverArtDate});
+    {latestFirst: true, getDate: (o) => o.coverArtDate});
 
   const commentaryThings = sortAlbumsTracksChronologically([
     ...(artist.albumsAsCommentator ?? []),