diff options
Diffstat (limited to 'src/data/composite/wiki-data/withReverseContributionList.js')
-rw-r--r-- | src/data/composite/wiki-data/withReverseContributionList.js | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/data/composite/wiki-data/withReverseContributionList.js b/src/data/composite/wiki-data/withReverseContributionList.js index 2396c3b4..04dc52d7 100644 --- a/src/data/composite/wiki-data/withReverseContributionList.js +++ b/src/data/composite/wiki-data/withReverseContributionList.js @@ -27,9 +27,14 @@ export default withReverseList_template({ '#flattenedList': '#referencingThings', }), - withMappedList({ + withPropertyFromList({ list: '#referencingThings', - map: input.value(contrib => [contrib.artist]), + property: input.value('artist'), + }), + + withMappedList({ + list: '#referencingThings.artist', + map: input.value(artist => [artist]), }).outputs({ '#mappedList': '#referencedThings', }), |