Skip to content

Commit

Permalink
Merge branch '2022.06.x' into 2023.06.x
Browse files Browse the repository at this point in the history
* 2022.06.x:
  MCR-3208 ORCID export fails if multiple nameParts of same type are present
  • Loading branch information
yagee-de committed Oct 21, 2024
2 parents eb9a76c + 45d14ef commit cf72261
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -258,10 +258,10 @@
<work:credit-name>
<xsl:choose>
<xsl:when test="mods:namePart[@type='given'] and mods:namePart[@type='family']">
<xsl:value-of select="normalize-space(concat(mods:namePart[@type='given'], ' ', mods:namePart[@type='family']))" />
<xsl:value-of select="normalize-space(concat(mods:namePart[@type='given'][1], ' ', mods:namePart[@type='family'][1]))" />
</xsl:when>
<xsl:when test="mods:namePart[@type='given'] or mods:namePart[@type='family']">
<xsl:value-of select="normalize-space(concat(mods:namePart[@type='given'], mods:namePart[@type='family']))" />
<xsl:value-of select="normalize-space(concat(mods:namePart[@type='given'][1], mods:namePart[@type='family'][1]))" />
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="normalize-space(mods:namePart)" />
Expand Down

0 comments on commit cf72261

Please sign in to comment.