Skip to content

Commit

Permalink
UBO-272 Fixed StackOverflowError during indexing
Browse files Browse the repository at this point in the history
  • Loading branch information
Possommi authored and kkrebs committed Sep 19, 2023
1 parent a13bed4 commit 91df30b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ubo-common/src/main/resources/xsl/ubo-solr.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,10 @@
</field>

<field name="{@type}_nid_text">
<xsl:apply-templates select=".." mode="solrField" />
<xsl:value-of select="../mods:namePart[@type='family']" />
<xsl:for-each select="../mods:namePart[@type='given'][1]">
<xsl:value-of select="concat(', ',text())" />
</xsl:for-each>
</field>
</xsl:template>

Expand Down

0 comments on commit 91df30b

Please sign in to comment.