From 141235abd7a39ce7a00f95caa6f631a84491ab0b Mon Sep 17 00:00:00 2001 From: Jane Sandberg Date: Wed, 18 Sep 2024 12:39:39 -0700 Subject: [PATCH] [#1827] Use the term description, rather than enumeration, for the combined enumeration and chronology This makes the terminology consistent with the Alma availability response, and the Alma enrichment UI. It also reduces some potential confusion, since we no longer imply that chronology is not included in this value. Closes #1827 --- marc_to_solr/lib/process_holdings_helpers.rb | 2 +- spec/marc_to_solr/lib/princeton_marc_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/marc_to_solr/lib/process_holdings_helpers.rb b/marc_to_solr/lib/process_holdings_helpers.rb index bb762a70..0c80ef41 100644 --- a/marc_to_solr/lib/process_holdings_helpers.rb +++ b/marc_to_solr/lib/process_holdings_helpers.rb @@ -141,7 +141,7 @@ def build_item(field_852:, field_876:) is_scsb = scsb?(field_852) item = {} item[:holding_id] = field_876['0'] if field_876['0'] - item[:enumeration] = field_876['3'] if field_876['3'] + item[:description] = field_876['3'] if field_876['3'] item[:id] = field_876['a'] if field_876['a'] item[:status_at_load] = field_876['j'] if field_876['j'] item[:barcode] = field_876['p'] if field_876['p'] diff --git a/spec/marc_to_solr/lib/princeton_marc_spec.rb b/spec/marc_to_solr/lib/princeton_marc_spec.rb index 6d1e8235..07d269f2 100644 --- a/spec/marc_to_solr/lib/princeton_marc_spec.rb +++ b/spec/marc_to_solr/lib/princeton_marc_spec.rb @@ -840,7 +840,7 @@ def fixture_record(fixture_name) expect(@holdings_scsb_block['location_has']).to eq(["no. 107-112"]) end it "indexes 876 for scsb" do - expect(@holdings_scsb_block['items'][0]['enumeration']).to eq("no. 107-112") + expect(@holdings_scsb_block['items'][0]['description']).to eq("no. 107-112") expect(@holdings_scsb_block['items'][0]['id']).to eq("15555520") expect(@holdings_scsb_block['items'][0]['use_statement']).to eq("In Library Use") expect(@holdings_scsb_block['items'][0]['status_at_load']).to eq("Available")