Skip to content

Commit 84a8d18

Browse files
Merge pull request #229 from sul-dlss/t210-de-labelize
Remove remaining label references
2 parents 484ab20 + 6cacdb1 commit 84a8d18

6 files changed

Lines changed: 7 additions & 11 deletions

File tree

app/services/search/item_query_builder.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,6 @@ def query_fields # rubocop:disable Metrics/MethodLength
145145
#{ID}
146146
druid_bare_ssi
147147
druid_prefixed_ssi
148-
obj_label_tesim
149148
identifier_ssim
150149
identifier_tesim
151150
barcode_id_ssimdv
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
collection,initial_workflow,content_type,source_id,label,rights_view,rights_download,tags,tags
1+
collection,initial_workflow,content_type,source_id,title,rights_view,rights_download,tags,tags
22
druid:bk024qs1808,accessionWF,book,foo:123,My new object,world,world,csv : test,Project : two
3-
druid:bk024qs1808,accessionWF,book,foo:123,A label,world,world
3+
druid:bk024qs1808,accessionWF,book,foo:123,A title,world,world

spec/jobs/bulk_actions/register_job_spec.rb

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,14 @@
1818
catalogLinks: [{ catalog: 'folio',
1919
catalogRecordId: 'in12345', refresh: true }],
2020
sourceId: 'foo:bar1'
21-
},
22-
label: 'My object')
21+
})
2322
end
2423

2524
let(:csv_string) do
2625
<<~CSV
2726
administrative_policy_object,collection,initial_workflow,content_type,source_id,title,rights_view,rights_download,tags,tags
2827
druid:bc123df4567,druid:bk024qs1808,accessionWF,book,foo:123,My new object,world,world,csv : test,Project : two
29-
druid:dj123qx4567,druid:bk024qs1808,accessionWF,book,foo:123,A label,world,world
28+
druid:dj123qx4567,druid:bk024qs1808,accessionWF,book,foo:123,A title,world,world
3029
CSV
3130
end
3231

@@ -43,7 +42,7 @@
4342
context 'when parsing fails' do
4443
let(:csv_string) do
4544
<<~CSV
46-
administrative_policy_object,initial_workflow,content_type,source_id,label,rights_view,rights_download
45+
administrative_policy_object,initial_workflow,content_type,source_id,title,rights_view,rights_download
4746
druid:123,accessionWF,book,foo:123,My new object,world,world
4847
CSV
4948
end

spec/services/csv_upload/validator_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
let(:required_headers) { %w[source_id] }
3838
let(:csv) do
3939
<<~CSV
40-
barcode, ,source_id,label
40+
barcode, ,source_id,title
4141
,,not:blank001,not blank
4242
,,not:blank002,blank rows below this line
4343
,,,,

spec/services/purl_preview_service_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
let(:cocina_hash) do
99
{
1010
externalIdentifier: 'druid:bc123cd4567',
11-
label: 'Test object'
11+
description: { title: [{ value: 'Test object' }] }
1212
}
1313
end
1414
let(:response) { instance_double(Faraday::Response, success?: success, status:, body: response_body) }

spec/services/structure_serializer_spec.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
{
2121
"type": "#{Cocina::Models::ObjectType.image}",
2222
"externalIdentifier": "#{druid}",
23-
"label": "dood",
2423
"version": 1,
2524
"access": {
2625
"view": "world",
@@ -65,7 +64,6 @@
6564
{
6665
"type": "#{Cocina::Models::ObjectType.image}",
6766
"externalIdentifier": "#{druid}",
68-
"label": "dood",
6967
"version": 1,
7068
"access": {
7169
"view": "world",

0 commit comments

Comments
 (0)