Skip to content

Commit

Permalink
NOP-57 - Moved Script and Inscription fields (#1193)
Browse files Browse the repository at this point in the history
  • Loading branch information
kethlinmil authored Feb 25, 2025
1 parent 9f5cbb9 commit bf523bf
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 10 deletions.
3 changes: 1 addition & 2 deletions config/metadata/item_overview_metadata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,9 @@ edition_ssm: 'Edition'

# Other
human_readable_language_tesim: 'Language'
script_tesim: 'Script'
member_of_collections_ssim: 'Collection'
series_tesim: 'Series'
inscription_tesim: 'Inscription'
script_tesim: 'Script'
# dlcs_collection_name_tesim: 'Collection (native)'

associated_name_tesim: 'Associated name'
Expand Down
1 change: 1 addition & 0 deletions config/metadata/note_metadata.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
summary_tesim: 'Summary'
description_tesim: 'Description'
caption_tesim: 'Caption'
inscription_tesim: 'Inscription'
contents_note_tesim: 'Contents note'
colophon_tesim: 'Colophon'
history_tesim: 'History'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
'human_readable_language_tesim' => 'Language',
'illuminator_tesim' => 'Illuminator',
'illustrator_tesim' => 'Illustrator',
'inscription_tesim' => 'Inscription',
'interviewee_tesim' => 'Interviewee',
'interviewer_tesim' => 'Interviewer',
'librettist_tesim' => 'Librettist',
Expand Down Expand Up @@ -160,10 +159,6 @@
expect(config['illustrator_tesim'].to_s).to eq('Illustrator')
end

it 'returns the Inscription key' do
expect(config['inscription_tesim'].to_s).to eq('Inscription')
end

it 'returns the Interviewee Key' do
expect(config['interviewee_tesim'].to_s).to eq('Interviewee')
end
Expand Down Expand Up @@ -258,7 +253,7 @@
let(:missing) { presenter_object_missing_items.overview_terms.keys.length }

it "returns existing keys" do
expect(all).to eq 50
expect(all).to eq 49
expect(config.length).to eq all
end

Expand Down
5 changes: 3 additions & 2 deletions spec/presenters/ursus/note_metadata_presenter_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
'resp_statement_tesim' => 'Statement of Responsibility',
'citation_source_tesim' => 'References',
'incipit_tesim' => 'Incipit',
'explicit_tesim' => 'Explicit'
'explicit_tesim' => 'Explicit',
'inscription_tesim' => 'Inscription'
}
end
let(:solr_doc_missing_items) do
Expand Down Expand Up @@ -96,7 +97,7 @@

it "returns existing keys" do
expect(presenter_object.note_terms).to be_instance_of(Hash)
expect(all).to eq 14
expect(all).to eq 15
expect(config.length).to eq all
end

Expand Down

0 comments on commit bf523bf

Please sign in to comment.