Bug 15140: Display $i when ind2==8

See MARC specification.
Note that we have a preceding text before all 776s too.

Test plan:
[1] Set field 776 ind2 to 8. And add text in $i.
[2] Look for this text on OPAC detail and staff detail.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Felix Hemme <felix.hemme@thulb.uni-jena.de>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Marcel de Rooy 2017-05-01 13:04:07 +02:00 committed by Jonathan Druart
parent 7b7ffef53d
commit 03f5c5b4f8
2 changed files with 12 additions and 0 deletions

View File

@ -771,6 +771,12 @@
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<xsl:if test="@ind2=8 and marc:subfield[@code='i']">
<xsl:call-template name="subfieldSelect">
<xsl:with-param name="codes">i</xsl:with-param>
</xsl:call-template>
<xsl:text>: </xsl:text>
</xsl:if>
<xsl:choose>
<xsl:when test="marc:subfield[@code='w']">
<a>

View File

@ -823,6 +823,12 @@
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<xsl:if test="@ind2=8 and marc:subfield[@code='i']">
<xsl:call-template name="subfieldSelect">
<xsl:with-param name="codes">i</xsl:with-param>
</xsl:call-template>
<xsl:text>: </xsl:text>
</xsl:if>
<xsl:choose>
<xsl:when test="marc:subfield[@code='w']">
<a>