From 2986ab4471d77d87511d34904b760e5851137e99 Mon Sep 17 00:00:00 2001 From: Kristina Spurgin Date: Wed, 9 Mar 2022 11:38:07 -0500 Subject: [PATCH] acquisitionMethod option list changes --- CHANGELOG.md | 6 ++++++ package.json | 2 +- .../recordTypes/acquisition/optionLists.js | 17 +++++++++++++++-- 3 files changed, 22 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3f9baa7..d9ca047 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Change Log +## v1.0.7 + +- Changes to acquisitionMethods option list values + - Remove `curationAgreement` and `gift` + - Add `curated-on-behalf-of-federal-government`, `curated-on-behalf-of-state-government`, and `curated-on-behalf-of-tribal-government` + ## v1.0.6 - Adds 'naamcc' (National Afro-American Museum & Cultural Center) and 'poindexter-village' (Poindexter Village) to shared `departments` option list diff --git a/package.json b/package.json index 82fd21c..124ca7d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cspace-ui-plugin-profile-ohc", - "version": "1.0.6", + "version": "1.0.7", "description": "OHC profile plugin for the CollectionSpace UI", "author": "", "license": "ECL-2.0", diff --git a/src/plugins/recordTypes/acquisition/optionLists.js b/src/plugins/recordTypes/acquisition/optionLists.js index 5b18dd2..7c7f92c 100644 --- a/src/plugins/recordTypes/acquisition/optionLists.js +++ b/src/plugins/recordTypes/acquisition/optionLists.js @@ -4,11 +4,12 @@ export default { acquisitionMethods: { values: [ 'bequest', - 'curationAgreement', + 'curated-on-behalf-of-federal-government', + 'curated-on-behalf-of-state-government', + 'curated-on-behalf-of-tribal-government', 'donation', 'fieldCollected', 'foundInCollection', - 'gift', 'loan', 'purchase', 'staffCurated', @@ -19,6 +20,18 @@ export default { id: 'option.acquisitionMethods.bequest', defaultMessage: 'bequest', }, + 'curated-on-behalf-of-federal-government': { + id: 'option.acquisitionMethods.curated-on-behalf-of-federal-government', + defaultMessage: 'curated on behalf of federal government', + }, + 'curated-on-behalf-of-state-government': { + id: 'option.acquisitionMethods.curated-on-behalf-of-state-government', + defaultMessage: 'curated on behalf of state government', + }, + 'curated-on-behalf-of-tribal-government': { + id: 'option.acquisitionMethods.curated-on-behalf-of-tribal-government', + defaultMessage: 'curated on behalf of tribal government', + }, donation: { id: 'option.acquisitionMethods.donation', defaultMessage: 'donation',