diff --git a/app/services/willow_sword/assign_mets_to_model.rb b/app/services/willow_sword/assign_mets_to_model.rb index eb412f7..7d996c8 100644 --- a/app/services/willow_sword/assign_mets_to_model.rb +++ b/app/services/willow_sword/assign_mets_to_model.rb @@ -878,6 +878,7 @@ def assign_ref_admin 'ref_compliant_availability' => 'ref_compliant_availability', 'ref_exception_required' => 'ref_exception_required', 'ref_exception_note' => 'ref_other_exception_note', + 'rights_retention_statement_included' => 'rights_retention_statement_included' } admin_attrs = {} @metadata.fetch('ref_admin', {}).each do |key, val| diff --git a/app/services/willow_sword/crosswalk_to_mods.rb b/app/services/willow_sword/crosswalk_to_mods.rb index dd689af..fbfb384 100644 --- a/app/services/willow_sword/crosswalk_to_mods.rb +++ b/app/services/willow_sword/crosswalk_to_mods.rb @@ -1001,6 +1001,7 @@ def add_ref_admin 'ref_compliant_availability' => 'ref_compliant_availability', 'ref_exception_required' => 'ref_exception_required', 'ref_exception_note' => 'ref_other_exception_note', + 'rights_retention_statement_included' => 'rights_retention_statement_included' } fields.each do |xml_fld, data_fld| val = get_child_content('admin_information', data_fld) diff --git a/app/services/willow_sword/parse_mets_with_mods.rb b/app/services/willow_sword/parse_mets_with_mods.rb index 293a388..0f3b58a 100644 --- a/app/services/willow_sword/parse_mets_with_mods.rb +++ b/app/services/willow_sword/parse_mets_with_mods.rb @@ -453,7 +453,7 @@ def get_ref_admin ele = @amd.xpath('sourceMD/mdWrap/xmlData/mods/extension/ref_admin') fields = %w(apc_admin_apc_number apc_admin_review_status apc_admin_spreadsheet_identifier apc_admin_apc_requested ref_compliant_at_deposit ref_compliant_avialability - ref_exception_required ref_exception_note) + ref_exception_required ref_exception_note rights_retention_statement_included) ra = {} fields.each do |field| vals = get_text(ele, field)