« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data/things
diff options
context:
space:
mode:
Diffstat (limited to 'src/data/things')
-rw-r--r--src/data/things/artist.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/data/things/artist.js b/src/data/things/artist.js
index 3e4c8c2c..44fd458d 100644
--- a/src/data/things/artist.js
+++ b/src/data/things/artist.js
@@ -142,6 +142,18 @@ export class Artist extends Thing {
       list: input.value('commentatorArtists'),
     }),
 
+    artistContributions: reverseContributionList({
+      data: 'trackData',
+      list: input.value('artistContribs'),
+      mode: input.value('contributions'),
+    }),
+
+    contributorContributions: reverseContributionList({
+      data: 'trackData',
+      list: input.value('artistContribs'),
+      mode: input.value('contributions'),
+    }),
+
     albumsAsAlbumArtist: reverseContributionList({
       data: 'albumData',
       list: input.value('artistContribs'),