« get me outta code hell

data: redate inherited contribution lists - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data/composite/things
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-03-07 12:20:50 -0400
committer(quasar) nebula <qznebula@protonmail.com>2024-06-18 22:56:03 -0300
commitd90773b9be9c2737f8962bcf2aead04b9fab9368 (patch)
tree1b3f260d0a785ee7d9d3db09fe8df11da7bcc051 /src/data/composite/things
parent7aea624c3e101c30e02e5ae08679ec243764632f (diff)
data: redate inherited contribution lists
Diffstat (limited to 'src/data/composite/things')
-rw-r--r--src/data/composite/things/track/inheritContributionListFromOriginalRelease.js11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/data/composite/things/track/inheritContributionListFromOriginalRelease.js b/src/data/composite/things/track/inheritContributionListFromOriginalRelease.js
index 9e01f119..f4ae3ddb 100644
--- a/src/data/composite/things/track/inheritContributionListFromOriginalRelease.js
+++ b/src/data/composite/things/track/inheritContributionListFromOriginalRelease.js
@@ -5,8 +5,10 @@ import {input, templateCompositeFrom} from '#composite';
 
 import {exposeDependency, raiseOutputWithoutDependency}
   from '#composite/control-flow';
-import {withRecontextualizedContributionList} from '#composite/wiki-data';
+import {withRecontextualizedContributionList, withRedatedContributionList}
+  from '#composite/wiki-data';
 
+import withDate from './withDate.js';
 import withPropertyFromOriginalRelease
   from './withPropertyFromOriginalRelease.js';
 
@@ -28,6 +30,13 @@ export default templateCompositeFrom({
       list: '#originalValue',
     }),
 
+    withDate(),
+
+    withRedatedContributionList({
+      list: '#originalValue',
+      date: '#date',
+    }),
+
     exposeDependency({
       dependency: '#originalValue',
     }),