diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-04-18 19:10:25 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-04-18 19:10:25 -0300 |
commit | c504e1dd0497edc694bd594052728ffb39af70a8 (patch) | |
tree | df31caef2d531c81230d28b3647a50f0ac973b4a /src | |
parent | 4fe9bfe3b653da593fa142eeb89d92f262680d8c (diff) |
content: generateTrackInfoPage: sort art chronology by art date
Diffstat (limited to 'src')
-rw-r--r-- | src/content/dependencies/generateTrackInfoPage.js | 4 |
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), |