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 ea7cd8c53..79a8b8837 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.name || val.text || val.id + (val) => val.id || val.name || val.text )} ref={selectRef} // Disable UI-side filtering of search results