From eac19550830899d9b1a26a5d4eeeee80b6aecea2 Mon Sep 17 00:00:00 2001 From: Jessie Keck Date: Thu, 7 Apr 2016 17:16:29 -0700 Subject: [PATCH 1/5] Add new STK-GEMS location translation. #1250 --- lib/constants.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/constants.rb b/lib/constants.rb index 7ba2836cc..4bc02f60c 100644 --- a/lib/constants.rb +++ b/lib/constants.rb @@ -583,6 +583,7 @@ module Constants 'STACKS-30' => 'Stacks', 'STACKS-BW' => 'Bound with another item', 'STAFF' => 'Ask at circulation desk', + 'STK-GEMS' => 'Collection Gems', 'STK-NOCIRC' => 'Stacks', 'STK-SM' => 'Request for use at Map Center (small stacks)', 'STK-MED' => 'Request for use at Map Center (medium stacks)', From 6a05815e93b039eb5817d2548df09adf56b551ef Mon Sep 17 00:00:00 2001 From: Jessie Keck Date: Thu, 7 Apr 2016 17:28:35 -0700 Subject: [PATCH 2/5] Add some additional NOCIRC location codes. #1251 --- lib/constants.rb | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/lib/constants.rb b/lib/constants.rb index 4bc02f60c..61226ceb2 100644 --- a/lib/constants.rb +++ b/lib/constants.rb @@ -663,6 +663,7 @@ module Constants 'ARTLCKM', 'ARTLCKO', 'ARTLCKS', + 'ARTVAULT', 'BARCHAS', 'BENDER', 'BUS-ARCH', @@ -670,6 +671,8 @@ module Constants 'BUS-LOCKED', 'BUS-MAKENA', 'BUSDISPLAY', + 'ENGDISPLAY', + 'FACULTY', 'FELTON', 'FELT-STOR', 'FRECOT', @@ -693,14 +696,25 @@ module Constants 'IC-RREF', 'IC-STATS', 'LAW-SPEC', + 'LOCK-CHN', + 'LOCK-JPN', + 'LOCK-KOR', 'MANNING', 'MEDIEVALRM', 'MEMLIBMUS', 'MICROFICHE', + 'MM-ARTCAB', + 'MM-BUSCAB', + 'MM-DIZOCAB', + 'MM-MATHCAB', 'MUS-NOCIRC', + 'NEWS-STKS', + 'NEWSPAPERS', 'NEWTON', 'RARE-BOOKS', 'RARE-STOR', + 'RAUB-COLL', + 'RAUB-NUM', 'RBCX', 'REF-CHN', 'REF-DESK', @@ -713,6 +727,7 @@ module Constants 'ROB-STOR', 'RUMSEY', 'SAFETY', + 'SAL-TEMP', 'SCBS', 'SSRC', 'SSRC-ANRPT', @@ -727,6 +742,7 @@ module Constants 'STK-NOCIRC', 'STUDY-AIDS', 'TAUBE', + 'TERM-COLL', 'THEA-STOR', 'THEATRE', 'TIMO-COLL'] From 6f51ee14417b5d9e2fa7f826c93a6e95dec091b6 Mon Sep 17 00:00:00 2001 From: Jessie Keck Date: Thu, 7 Apr 2016 17:32:23 -0700 Subject: [PATCH 3/5] Move noncirc item types to class constant. --- lib/holdings/noncirc.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/holdings/noncirc.rb b/lib/holdings/noncirc.rb index d2ccaead2..6c8a3d567 100644 --- a/lib/holdings/noncirc.rb +++ b/lib/holdings/noncirc.rb @@ -1,6 +1,8 @@ class Holdings class Status class Noncirc + NONCIRC_TYPES = %w(LIBUSEONLY NH-INHOUSE NONCIRC REF).freeze + def initialize(callnumber) @callnumber = callnumber @noncirc = determine_noncirc_status @@ -37,7 +39,7 @@ def location_is_default_noncirc? end def type_is_default_noncirc? - %w(LIBUSEONLY NH-INHOUSE NONCIRC REF).include?(@callnumber.type) + NONCIRC_TYPES.include?(@callnumber.type) end def sanitized_library From 1175bee769db33fb3429da2c997e6b1ca0c8f5e5 Mon Sep 17 00:00:00 2001 From: Jessie Keck Date: Thu, 7 Apr 2016 17:34:16 -0700 Subject: [PATCH 4/5] Add new noncirc item types. #1252 --- lib/holdings/noncirc.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/holdings/noncirc.rb b/lib/holdings/noncirc.rb index 6c8a3d567..eff631b03 100644 --- a/lib/holdings/noncirc.rb +++ b/lib/holdings/noncirc.rb @@ -1,7 +1,7 @@ class Holdings class Status class Noncirc - NONCIRC_TYPES = %w(LIBUSEONLY NH-INHOUSE NONCIRC REF).freeze + NONCIRC_TYPES = %w(ARCHIVE EXPEDITION INDEX LIBUSEONLY MFICHE MFILM NH-INHOUSE NH-MAP NONCIRC REF VAULT).freeze def initialize(callnumber) @callnumber = callnumber From 5ac311d154cf8550f40e17529dadd979bf9dc23d Mon Sep 17 00:00:00 2001 From: Jessie Keck Date: Wed, 13 Apr 2016 19:41:23 -0700 Subject: [PATCH 5/5] Update the website for Rumsey Map Center. #1253 --- lib/constants.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/constants.rb b/lib/constants.rb index 61226ceb2..364de1a6f 100644 --- a/lib/constants.rb +++ b/lib/constants.rb @@ -1111,7 +1111,7 @@ module Constants 'MUSIC' => 'http://library.stanford.edu/libraries/music/about', 'MEDIA-MTXT' => 'http://library.stanford.edu/libraries/green/media-microtext-center', 'MEYER' => 'http://library.stanford.edu/libraries/meyer/about', - 'RUMSEYMAP' => 'https://library.stanford.edu/branner/david-rumsey-map-center-preview', + 'RUMSEYMAP' => 'https://library.stanford.edu/libraries/rumsey/about', 'TANNER' => 'http://library.stanford.edu/libraries/philosophy/about', 'SPEC-COLL' => 'http://library.stanford.edu/libraries/spc/about', 'SAL' => 'http://library.stanford.edu/libraries/sal/about',