« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content/dependencies
diff options
context:
space:
mode:
Diffstat (limited to 'src/content/dependencies')
-rw-r--r--src/content/dependencies/generateTrackChronologyLinks.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/content/dependencies/generateTrackChronologyLinks.js b/src/content/dependencies/generateTrackChronologyLinks.js
index 24e56698..2849d020 100644
--- a/src/content/dependencies/generateTrackChronologyLinks.js
+++ b/src/content/dependencies/generateTrackChronologyLinks.js
@@ -97,7 +97,7 @@ export default {
           .map(({artistDirectory}) => artistDirectory);
 
       albumSet.sort((a, b) =>
-        (a.index === b.index
+        (a.only === b.only && a.index === b.index
           ? (wikiArtistDirectories.indexOf(a.artistDirectory)
            - wikiArtistDirectories.indexOf(b.artistDirectory))
           : 0));