diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-04-10 20:26:32 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-06-18 22:56:05 -0300 |
commit | 151bb59cc02fd111452b0511da903be7d496c1da (patch) | |
tree | 660250a410d88ee49bac7c927f8d7280d69582fb /src | |
parent | edf2f46d0778b9505258cde878742b816289d1f6 (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'), |