« get me outta code hell

content: generateArtistGroupContributionsInfo: fix byCount pass - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-04-02 11:07:45 -0300
committer(quasar) nebula <qznebula@protonmail.com>2024-04-02 11:07:45 -0300
commitd7a98669e875005c70a3ce93755483fb67054725 (patch)
tree3358d0bf1171e6fdf8748c89897f4aac82536ea6 /src/content
parent0f2fb35f31cb983421b7fcd959adbecab7a039e5 (diff)
content: generateArtistGroupContributionsInfo: fix byCount pass
One ByCount passed when ByDuration is needed will, in fact,
tear it all down!
Diffstat (limited to 'src/content')
-rw-r--r--src/content/dependencies/generateArtistGroupContributionsInfo.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/content/dependencies/generateArtistGroupContributionsInfo.js b/src/content/dependencies/generateArtistGroupContributionsInfo.js
index 7669bc48..1725d4b9 100644
--- a/src/content/dependencies/generateArtistGroupContributionsInfo.js
+++ b/src/content/dependencies/generateArtistGroupContributionsInfo.js
@@ -206,7 +206,7 @@ export default {
                 duration:
                   getDurations(
                     data.groupDurationsSortedByDuration,
-                    data.groupDurationsApproximateSortedByCount),
+                    data.groupDurationsApproximateSortedByDuration),
               }).map(({group, count, duration}) =>
                   html.tag('li',
                     html.tag('div', {class: 'group-contributions-row'}, [