Bug 14094: DDC - Add separators for repeated $a subfields (MARC21)
Mulitple 082 fields are already separated by |, but multiple $a in one 082 field were only separated by space, making those not easy to read. Patch takes care that the | separator is used in all cases. To test: - Catalog a record with multiple 082 fields - Add one or multiple $a subfields to each - Verify every single classification is separated from the others with a | in staff and in OPAC detail pages Signed-off-by: Nick Clemens <nick@quecheelibrary.org> Signed-off-by: Jonathan Druart <jonathan.druart@koha-community.org> Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar>
This commit is contained in:
parent
da8ec2d37a
commit
6d9d66e32a
|
|
@ -705,6 +705,7 @@
|
|||
<xsl:for-each select="marc:datafield[@tag=082]">
|
||||
<xsl:call-template name="subfieldSelect">
|
||||
<xsl:with-param name="codes">a</xsl:with-param>
|
||||
<xsl:with-param name="delimeter"><xsl:text> | </xsl:text></xsl:with-param>
|
||||
</xsl:call-template>
|
||||
<xsl:choose>
|
||||
<xsl:when test="position()=last()"><xsl:text> </xsl:text></xsl:when>
|
||||
|
|
|
|||
|
|
@ -760,6 +760,7 @@
|
|||
<xsl:for-each select="marc:datafield[@tag=082]">
|
||||
<xsl:call-template name="subfieldSelect">
|
||||
<xsl:with-param name="codes">a</xsl:with-param>
|
||||
<xsl:with-param name="delimeter"><xsl:text> | </xsl:text></xsl:with-param>
|
||||
</xsl:call-template>
|
||||
<xsl:choose>
|
||||
<xsl:when test="position()=last()"><xsl:text> </xsl:text></xsl:when>
|
||||
|
|
|
|||
Loading…
Reference in New Issue