diff --git a/invenio_rdm_records/assets/semantic-ui/js/invenio_rdm_records/src/deposit/fields/AffiliationsField/AffiliationsField.js b/invenio_rdm_records/assets/semantic-ui/js/invenio_rdm_records/src/deposit/fields/AffiliationsField/AffiliationsField.js index eac305cc2..ea7cd8c53 100644 --- a/invenio_rdm_records/assets/semantic-ui/js/invenio_rdm_records/src/deposit/fields/AffiliationsField/AffiliationsField.js +++ b/invenio_rdm_records/assets/semantic-ui/js/invenio_rdm_records/src/deposit/fields/AffiliationsField/AffiliationsField.js @@ -54,7 +54,7 @@ export class AffiliationsField extends Component { ); }} value={getIn(values, fieldPath, []).map( - (val) => val.id || val.text || val.name + (val) => val.name || val.text || val.id )} ref={selectRef} // Disable UI-side filtering of search results