« get me outta code hell

data: Track: following productions are main releases only - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data/things/track.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2025-12-12 16:41:22 -0400
committer(quasar) nebula <qznebula@protonmail.com>2025-12-12 16:41:22 -0400
commit0f45b260201f98b05dae1a18428b1a5619384c26 (patch)
tree216ac34b436eda5e2e9127b583a524bab03df36d /src/data/things/track.js
parent80d27a412d8e182015842b67253b51c1005f1c30 (diff)
data: Track: following productions are main releases only
Diffstat (limited to 'src/data/things/track.js')
-rw-r--r--src/data/things/track.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/data/things/track.js b/src/data/things/track.js
index 1095cce9..ab7511a8 100644
--- a/src/data/things/track.js
+++ b/src/data/things/track.js
@@ -1241,7 +1241,7 @@ export class Track extends Thing {
     tracksWhichAreFollowingProductionsOf: {
       bindTo: 'trackData',
 
-      referencing: track => track,
+      referencing: track => track.isMainRelease ? [track] : [],
       referenced: track => track.previousProductionTracks,
     },
   };