« 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-12 17:26:41 -0300
commit2ecbfea7c451abb422db3b6c29b26825e1a824a4 (patch)
tree4492c875d5ed366c43ad4a486692951528015a37 /src/data/composite/things
parent55df0a77ab929592cce98d36db71315c6c534aa2 (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',
     }),