« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content/dependencies
diff options
context:
space:
mode:
Diffstat (limited to 'src/content/dependencies')
-rw-r--r--src/content/dependencies/generateTrackInfoPage.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/content/dependencies/generateTrackInfoPage.js b/src/content/dependencies/generateTrackInfoPage.js
index 21c15004..5900b27e 100644
--- a/src/content/dependencies/generateTrackInfoPage.js
+++ b/src/content/dependencies/generateTrackInfoPage.js
@@ -47,7 +47,9 @@ export default {
           sortAlbumsTracksChronologically([
             ...artist.albumsAsCoverArtist,
             ...artist.tracksAsCoverArtist,
-          ]),
+          ], {
+            getDate: albumOrTrack => albumOrTrack.coverArtDate,
+          }),
       }),
 
       albumLink: relation('linkAlbum', track.album),