From bf7537d2d8022bd0a70f412473a7bc326af0b88b Mon Sep 17 00:00:00 2001 From: Monique Rio Date: Thu, 4 Apr 2024 09:27:47 -0400 Subject: [PATCH] adds description back into electronic holding output --- umich_catalog_indexing/lib/umich_traject/electronic_holding.rb | 1 + umich_catalog_indexing/spec/indexers/umich_alma_spec.rb | 2 ++ .../spec/traject/umich/electronic_holding_spec.rb | 1 + 3 files changed, 4 insertions(+) diff --git a/umich_catalog_indexing/lib/umich_traject/electronic_holding.rb b/umich_catalog_indexing/lib/umich_traject/electronic_holding.rb index bd843671..6cd8335f 100644 --- a/umich_catalog_indexing/lib/umich_traject/electronic_holding.rb +++ b/umich_catalog_indexing/lib/umich_traject/electronic_holding.rb @@ -91,6 +91,7 @@ def to_h "interface_name", "collection_name", "authentication_note", + "description", "public_note", "note", "finding_aid", diff --git a/umich_catalog_indexing/spec/indexers/umich_alma_spec.rb b/umich_catalog_indexing/spec/indexers/umich_alma_spec.rb index 921a41ab..992d1efa 100644 --- a/umich_catalog_indexing/spec/indexers/umich_alma_spec.rb +++ b/umich_catalog_indexing/spec/indexers/umich_alma_spec.rb @@ -29,6 +29,7 @@ def get_record(path) "interface_name" => "archived issues via the International Society of Arboriculture", "public_note" => "Access to archived issues via the International Society of Arboriculture online version:", "note" => "archived issues via the International Society of Arboriculture. Access to archived issues via the International Society of Arboriculture online version.", + "description" => nil, "status" => "Available", "finding_aid" => false, @@ -43,6 +44,7 @@ def get_record(path) "https://na04.alma.exlibrisgroup.com/view/uresolver/01UMICH_INST/openurl-UMAA?u.ignore_date_coverage=true&portfolio_pid=531031051590006381&Force_direct=true", "link_text" => "Available online", "campuses" => ["ann_arbor", "flint"], + "description" => nil, "public_note" => "Institutional password required for access to the International Society of Arboriculture online version; authentication required:", "note" => diff --git a/umich_catalog_indexing/spec/traject/umich/electronic_holding_spec.rb b/umich_catalog_indexing/spec/traject/umich/electronic_holding_spec.rb index 4aadf0cd..2fcb693f 100644 --- a/umich_catalog_indexing/spec/traject/umich/electronic_holding_spec.rb +++ b/umich_catalog_indexing/spec/traject/umich/electronic_holding_spec.rb @@ -138,6 +138,7 @@ def get_record(path) "link" => s.link, "link_text" => s.link_text, "campuses" => s.campuses, + "description" => s.description, "interface_name" => s.interface_name, "collection_name" => s.collection_name, "authentication_note" => s.authentication_note,