« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data/yaml.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/data/yaml.js')
-rw-r--r--src/data/yaml.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/data/yaml.js b/src/data/yaml.js
index 79602faa..c6600121 100644
--- a/src/data/yaml.js
+++ b/src/data/yaml.js
@@ -792,6 +792,7 @@ export function parseAnnotatedReferences(entries, {
 
 export function parseArtwork({
   single = false,
+  thingProperty = null,
   dimensionsFromThingProperty = null,
   fileExtensionFromThingProperty = null,
   dateFromThingProperty = null,
@@ -801,6 +802,7 @@ export function parseArtwork({
   referencedArtworksFromThingProperty = null,
 }) {
   const provide = {
+    thingProperty,
     dimensionsFromThingProperty,
     fileExtensionFromThingProperty,
     dateFromThingProperty,
@@ -833,7 +835,7 @@ export function parseContentEntries(thingClass, sourceText, {subdoc}) {
         .map(ref => ref.trim()),
 
     'Artist Text':
-      matchEntry.artistDisplayText,
+      matchEntry.artistText,
 
     'Annotation':
       matchEntry.annotation,