Skip to content

Commit

Permalink
Add reference group with related links
Browse files Browse the repository at this point in the history
  • Loading branch information
mikejritter committed Dec 18, 2024
1 parent 08e5f98 commit 718a19b
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions src/config/default.js
Original file line number Diff line number Diff line change
Expand Up @@ -611,6 +611,19 @@ export default {
path: 'rightReproductionStatement',
})),
},
relatedLinks: {
messages: defineMessages({
label: {
id: 'detailField.relatedLinks.label',
defaultMessage: 'Related Links',
},
}),
field: 'collectionobjects_common:publishedRelatedLinkGroupList',
format: listOf(nameRole({
nameFieldName: 'relatedLink',
roleFieldName: 'descriptiveTitle',
})),
},
},
groups: {
group_id: {
Expand Down Expand Up @@ -670,13 +683,25 @@ export default {
'rightReproductionStatement',
],
},
group_reference: {
messages: defineMessages({
label: {
id: 'detailGroup.group_reference.label',
defaultMessage: 'Reference',
},
}),
fields: [
'relatedLinks',
],
},
},
layout: {
fields1: [
'group_id',
'group_description',
'group_production',
'group_rights',
'group_reference',
],
},
},
Expand Down

0 comments on commit 718a19b

Please sign in to comment.