adsabs / bumblebee

🐝 Clever face for ADS
https://ui.adsabs.harvard.edu
GNU General Public License v2.0
38 stars 21 forks source link

Fix handling of multiple DOIs in abstract page #2249

Closed aaccomazzi closed 2 years ago

aaccomazzi commented 2 years ago

The DOI field in solr is multi-valued, but the UI does not seem to handle it well, creating a single string in the display with a link to the first value of the array. As an example, consider the record https://ui.adsabs.harvard.edu/abs/2022NatAs...6..331D/abstract

This ends up having a single DOI link: 10.48550/arXiv.2201.05617,10.1038/s41550-021-01558-y

This should instead be: 10.48550/arXiv.2201.05617; 10.1038/s41550-021-01558-y

i.e. each DOI value should have its own link. In contrast, it looks like we are doing the right thing when creating the OpenURL link, where the first DOI is used.