« get me outta code hell

'Has Track Numbers' generalized ol/ul field - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2022-05-05 19:34:32 -0300
committer(quasar) nebula <qznebula@protonmail.com>2022-05-05 19:34:32 -0300
commit9525ec4e143d17329c303e4ad09242a6dab9a9b9 (patch)
tree05047b14c9a98ec51d0465f8bfd381a18ebf2d04 /src/data
parent8fd50d6f0ba8dcfcfe34eb1321dc0bdd307b8c6a (diff)
'Has Track Numbers' generalized ol/ul field
Diffstat (limited to 'src/data')
-rw-r--r--src/data/things.js1
-rw-r--r--src/data/yaml.js1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/data/things.js b/src/data/things.js
index b2251430..c02e07e5 100644
--- a/src/data/things.js
+++ b/src/data/things.js
@@ -476,6 +476,7 @@ Album.propertyDescriptors = {
 
     hasCoverArt: Thing.common.flag(true),
     hasTrackArt: Thing.common.flag(true),
+    hasTrackNumbers: Thing.common.flag(true),
     isMajorRelease: Thing.common.flag(false),
     isListedOnHomepage: Thing.common.flag(true),
 
diff --git a/src/data/yaml.js b/src/data/yaml.js
index 2e0e985a..4897d573 100644
--- a/src/data/yaml.js
+++ b/src/data/yaml.js
@@ -221,6 +221,7 @@ export const processAlbumDocument = makeProcessDocument(Album, {
 
         hasCoverArt: 'Has Cover Art',
         hasTrackArt: 'Has Track Art',
+        hasTrackNumbers: 'Has Track Numbers',
         isMajorRelease: 'Major Release',
         isListedOnHomepage: 'Listed on Homepage',