diff --git a/app/models/concerns/mods_arce_solr_document.rb b/app/models/concerns/mods_arce_solr_document.rb index 9fc839780..ad2742e45 100644 --- a/app/models/concerns/mods_arce_solr_document.rb +++ b/app/models/concerns/mods_arce_solr_document.rb @@ -81,6 +81,11 @@ def to_mods_arce end end end + if self[:related_record_ssm] + xml['mods'].relatedItem(otherType: "relatedRecord") do + self[:related_record_ssm]&.each { |related_record| xml['mods'].identifier({ type: 'ark' }, related_record.to_s) } + end + end if self[:related_to_ssm] xml['mods'].relatedItem(otherType: "relatedTo", otherTypeAuth: "Bibframe") do xml['mods'].titleInfo do diff --git a/config/oai.yml b/config/oai.yml index f4331a73a..58340ecaf 100644 --- a/config/oai.yml +++ b/config/oai.yml @@ -88,7 +88,6 @@ DC: description: - content_disclaimer_ssm - related_to_ssm - - related_record_ssm DPLA: parent_schema: default object: