From 372681e748f88f8f31f7845d6f0c6f160d0eed96 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sat, 21 Nov 2020 22:02:25 -0400 Subject: tags and a whole lot of data sorry for this commit being so f****u****c*kxng bad --- common/common.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'common') diff --git a/common/common.js b/common/common.js index b8eae480..6c21dfcb 100644 --- a/common/common.js +++ b/common/common.js @@ -72,6 +72,7 @@ const C = { TRACK_DIRECTORY: 'track', ARTIST_DIRECTORY: 'artist', ARTIST_AVATAR_DIRECTORY: 'artist-avatar', + TAG_DIRECTORY: 'tag', LISTING_DIRECTORY: 'list', ABOUT_DIRECTORY: 'about', FEEDBACK_DIRECTORY: 'feedback', @@ -94,7 +95,7 @@ const C = { // Same details as the sortByDate, 8ut for covers~ sortByArtDate: data => { - return data.sort((a, b) => (a.artDate || a.date) - (b.artDate || b.date)); + return data.sort((a, b) => (a.coverArtDate || a.date) - (b.coverArtDate || b.date)); }, // This gets all the track o8jects defined in every al8um, and sorts them 8y -- cgit 1.3.0-6-gf8a5