Bug 8877 [ENH] MARC21 field 511 missing from XSLT
Adds MARC21 field 511 to the OPAC XSLT file. Signed-off-by: Marc Veron <veron@veron.ch> COntents of field 511 appears as expected. Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> Patch changes OPAC XSLT display, 511 is shown as defined by the MARC21 standard. If 1st indicator is 1, the label cast is shown in front of the 511 field. If 1st indicator is 0 or empty, no label is shown. Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
This commit is contained in:
parent
02018fa3a6
commit
1932d4f809
1 changed files with 11 additions and 0 deletions
|
@ -690,6 +690,17 @@
|
|||
</xsl:for-each>
|
||||
</xsl:if>
|
||||
|
||||
<xsl:for-each select="marc:datafield[@tag=511]">
|
||||
<span class="results_summary summary">
|
||||
<span class="label">
|
||||
<xsl:if test="@ind1=1"><xsl:text>Cast: </xsl:text></xsl:if>
|
||||
</span>
|
||||
<xsl:call-template name="subfieldSelect">
|
||||
<xsl:with-param name="codes">a</xsl:with-param>
|
||||
</xsl:call-template>
|
||||
</span>
|
||||
</xsl:for-each>
|
||||
|
||||
<xsl:for-each select="marc:datafield[@tag=520]">
|
||||
<span class="results_summary summary"><span class="label">
|
||||
<xsl:choose>
|
||||
|
|
Loading…
Reference in a new issue