From 189aa44e35532f15a9fe5774fdb1759cc4e2f558 Mon Sep 17 00:00:00 2001 From: Kirk Wang Date: Thu, 21 Sep 2023 11:19:57 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=81=20Add=20split=20for=20various=20pr?= =?UTF-8?q?operties?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit will add split on `;` for: `creator` `contributor` `language` `description` `source` `part_of` --- config/initializers/bulkrax.rb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/config/initializers/bulkrax.rb b/config/initializers/bulkrax.rb index 81618d88..8a4a8a5e 100644 --- a/config/initializers/bulkrax.rb +++ b/config/initializers/bulkrax.rb @@ -74,22 +74,22 @@ 'aark_id' => { from: ['identifier.ark'] }, 'identifier' => { from: ['identifier'], source_identifier: true }, 'bibliographic_citation' => { from: ['identifier.bibliographicCitation'] }, - 'creator' => { from: ['creator'] }, - 'contributor' => { from: ['contributor'] }, + 'creator' => { from: ['creator'], split: ';' }, + 'contributor' => { from: ['contributor'], split: ';' }, 'edition' => { from: ['title.release'] }, 'alternative_title' => { from: ['title.alternative'] }, 'resource_type' => { from: ['type'] }, 'issue_number' => { from: ['relation.isPartOfIssue'] }, - 'language' => { from: ['language'] }, - 'description' => { from: ['description'] }, + 'language' => { from: ['language'], split: ';' }, + 'description' => { from: ['description'], split: ';' }, 'pagination' => { from: ['format.extent'] }, 'extent' => { from: ['format.extent'], split: ';' }, - 'source' => { from: ['source'] }, + 'source' => { from: ['source'], split: ';' }, 'date_issued' => { from: ['date'] }, 'alt' => { from: ['coverage.spatial'] }, 'publisher' => { from: ['publisher'], split: ';' }, 'rights_statement' => { from: ['rights'] }, - 'part_of' => { from: ['relation.isPartOf'] }, + 'part_of' => { from: ['relation.isPartOf'], split: ';' }, 'part' => { from: ['relation.isPartOf'] }, 'date_created' => { from: ['date.other'] }, 'title' => { from: ['title'] },