From 718a19bc98e85f29702ef3eb94a2944df0dc1125 Mon Sep 17 00:00:00 2001 From: Michael Ritter Date: Wed, 11 Dec 2024 11:50:49 -0700 Subject: [PATCH] Add reference group with related links --- src/config/default.js | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/src/config/default.js b/src/config/default.js index 60f42a9..0381bf2 100644 --- a/src/config/default.js +++ b/src/config/default.js @@ -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: { @@ -670,6 +683,17 @@ export default { 'rightReproductionStatement', ], }, + group_reference: { + messages: defineMessages({ + label: { + id: 'detailGroup.group_reference.label', + defaultMessage: 'Reference', + }, + }), + fields: [ + 'relatedLinks', + ], + }, }, layout: { fields1: [ @@ -677,6 +701,7 @@ export default { 'group_description', 'group_production', 'group_rights', + 'group_reference', ], }, },