Skip to content

Commit

Permalink
Merge pull request #42 from lyrasis/zd-11143-option-values
Browse files Browse the repository at this point in the history
acquisitionMethod option list changes
  • Loading branch information
mark-cooper authored Mar 14, 2022
2 parents ba04120 + 2986ab4 commit 0d8cacd
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
17 changes: 15 additions & 2 deletions src/plugins/recordTypes/acquisition/optionLists.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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',
Expand Down

0 comments on commit 0d8cacd

Please sign in to comment.