« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/content/dependencies/generateArtistInfoPage.js6
-rw-r--r--src/data/things/artist.js3
2 files changed, 5 insertions, 4 deletions
diff --git a/src/content/dependencies/generateArtistInfoPage.js b/src/content/dependencies/generateArtistInfoPage.js
index cbd80683..81fede4c 100644
--- a/src/content/dependencies/generateArtistInfoPage.js
+++ b/src/content/dependencies/generateArtistInfoPage.js
@@ -81,13 +81,11 @@ export default {
 
     closeGroupLinks:
       query.generalLinkedGroups
-        .map(({thing: group}) =>
-          relation('linkGroup', group)),
+        .map(({group}) => relation('linkGroup', group)),
 
     aliasGroupLinks:
       query.aliasLinkedGroups
-        .map(({thing: group}) =>
-          relation('linkGroup', group)),
+        .map(({group}) => relation('linkGroup', group)),
 
     visitLinks:
       artist.urls
diff --git a/src/data/things/artist.js b/src/data/things/artist.js
index c6ee222a..8fdb8a12 100644
--- a/src/data/things/artist.js
+++ b/src/data/things/artist.js
@@ -143,6 +143,9 @@ export class Artist extends Thing {
     closelyLinkedGroups: reverseAnnotatedReferenceList({
       data: 'groupData',
       list: input.value('closelyLinkedArtists'),
+
+      forward: input.value('artist'),
+      backward: input.value('group'),
     }),
 
     totalDuration: artistTotalDuration(),