diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-04-10 20:26:32 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-06-12 17:26:50 -0300 |
commit | 1ddf40efd310f70b0a8c71db0f651b74ff7bb466 (patch) | |
tree | f0e02613696aec7b2c88aa0283cc3298b36fc51d /src | |
parent | 36d72d8f910dc0b9200224236d67eec605290b56 (diff) |
data: artist: scope contribution properties to thing kind
Diffstat (limited to 'src')
-rw-r--r-- | src/content/dependencies/generateArtistInfoPageTracksChunkedList.js | 4 | ||||
-rw-r--r-- | src/data/things/artist.js | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/content/dependencies/generateArtistInfoPageTracksChunkedList.js b/src/content/dependencies/generateArtistInfoPageTracksChunkedList.js index 9eb4e952..7c01accb 100644 --- a/src/content/dependencies/generateArtistInfoPageTracksChunkedList.js +++ b/src/content/dependencies/generateArtistInfoPageTracksChunkedList.js @@ -12,8 +12,8 @@ export default { const query = {}; const allContributions = [ - ...artist.artistContributions, - ...artist.contributorContributions, + ...artist.trackArtistContributions, + ...artist.trackContributorContributions, ]; sortContributionsChronologically( diff --git a/src/data/things/artist.js b/src/data/things/artist.js index 35abc397..0878edd5 100644 --- a/src/data/things/artist.js +++ b/src/data/things/artist.js @@ -142,13 +142,13 @@ export class Artist extends Thing { list: input.value('commentatorArtists'), }), - artistContributions: reverseContributionList({ + trackArtistContributions: reverseContributionList({ data: 'trackData', list: input.value('artistContribs'), mode: input.value('contributions'), }), - contributorContributions: reverseContributionList({ + trackContributorContributions: reverseContributionList({ data: 'trackData', list: input.value('contributorContribs'), mode: input.value('contributions'), |