From e931e13efe5645a0466b0146515afaf76bdaf63d Mon Sep 17 00:00:00 2001 From: Fatimah Zulfiqar Date: Mon, 9 Dec 2024 14:31:05 +0100 Subject: [PATCH] affiliations: update value property to use id --- .../contrib/invenioRDM/records/AffiliationsSuggestions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/elements/contrib/invenioRDM/records/AffiliationsSuggestions.js b/src/lib/elements/contrib/invenioRDM/records/AffiliationsSuggestions.js index cf9f604d..28a2d1a2 100644 --- a/src/lib/elements/contrib/invenioRDM/records/AffiliationsSuggestions.js +++ b/src/lib/elements/contrib/invenioRDM/records/AffiliationsSuggestions.js @@ -90,7 +90,7 @@ export const AffiliationsSuggestions = (creatibutors, isOrganization) => { return { text: creatibutor.name, - value: creatibutor.name, + value: creatibutor.id || creatibutor.name, name: creatibutor.name, extra: creatibutor, id: creatibutor.id,