feat: search contributors on their other names as well and return a display...
https://issues.unige.ch/projects/AOU/issues/AOU-542
feat: search contributors on their other names as well and return a display name made of all their names
- New entity to store contributors' other names (for UNIGE members) (= with cnIndividu)
- New link between Publication and ContributorOtherName to force the display name of a contributor
- When generating the XML metadata, it uses the eventual ContributorOtherName firstname/lastname as contributor name and put the other names in <other_names />
- When creating a Publication with given XML metadata, it stores eventual ContributorOtherName in db and create the links with the publication (useful during imports from Fedora) (example of person with multiple names: https://luniarchidoctst4.unige.ch/archive-ouverte/authors/view/75249)
- When searching contributors, it computes a
displayName
field with all forms of the contributor's names (ex:Silva Hardmeyer, Carla (Messias, Carla | Silva-Hardmeyer, Carla)
) - During indexation, the display name is index in
contributors
. Other names are all stored incontributorsWithOtherNames
. It alllows to search on any of the name's forms. - Validation rule on the name content compared to cnIndividu has been updated to allow the form corresponding to the link between publication and ContributorOtherName