diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-12-25 18:11:53 -0400 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-12-25 18:11:53 -0400 |
commit | b44534b622ab29ee6130125b367bcd086075be2b (patch) | |
tree | 9054727ea7664ef89bce473ec87033749552537a /src | |
parent | a47bd0a3c5bce526fcff1cd7b8c5796bc1bf059a (diff) |
data, content: Artist.closelyLinkedGroups: thing -> group
Diffstat (limited to 'src')
-rw-r--r-- | src/content/dependencies/generateArtistInfoPage.js | 6 | ||||
-rw-r--r-- | src/data/things/artist.js | 3 |
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(), |