From df12ad88b3fdaf78b3fb327c20be0601f2e694f9 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Fri, 30 Apr 2021 15:53:08 -0300 Subject: treat sibling-direction AKA as other releases --- upd8.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/upd8.js b/upd8.js index 66582f17..6b153b05 100755 --- a/upd8.js +++ b/upd8.js @@ -6185,8 +6185,8 @@ async function main() { trackData.forEach(track => track.otherReleases = [ track.aka, - ...trackData.filter(({ aka }) => aka === track) - ].filter(Boolean)); + ...trackData.filter(({ aka }) => aka === track || (track.aka && aka === track.aka)), + ].filter(x => x && x !== track)); if (wikiInfo.features.flashesAndGames) { flashData.forEach(flash => mapInPlace(flash.tracks, search.track)); -- cgit 1.3.0-6-gf8a5