« 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/composite/wiki-data/withReverseReferenceList.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/data/composite/wiki-data/withReverseReferenceList.js')
-rw-r--r--src/data/composite/wiki-data/withReverseReferenceList.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/data/composite/wiki-data/withReverseReferenceList.js b/src/data/composite/wiki-data/withReverseReferenceList.js
index 41d2ff20..c62408cf 100644
--- a/src/data/composite/wiki-data/withReverseReferenceList.js
+++ b/src/data/composite/wiki-data/withReverseReferenceList.js
@@ -14,13 +14,6 @@ export default withReverseList_template({
   outputName: '#reverseReferenceList',
 
   customCompositionSteps: () => [
-    withPropertyFromList({
-      list: input('data'),
-      property: input('list'),
-    }).outputs({
-      '#values': '#referencedThings',
-    }),
-
     {
       dependencies: [input('data')],
       compute: (continuation, {
@@ -30,5 +23,12 @@ export default withReverseList_template({
           data,
       }),
     },
+
+    withPropertyFromList({
+      list: '#referencingThings',
+      property: input('list'),
+    }).outputs({
+      '#values': '#referencedThings',
+    }),
   ],
 });