Bug 13385: Add field 508 to XSLT (OPAC and staff)

This patch adds field 508 to the XSLT display in the staff and OPAC view.
Display includes subfield a.

To test:
* Search the opac
* Click the title
* Make sure the fields display properly
* Repeat for a few more titles
* Repeat in the Staff Client

Signed-off-by: Nick Clemens <nick@quecheelibrary.org>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Adjusted commit message. Only subfield a is relevant here.
This commit is contained in:
Winona Salesky 2015-03-09 11:58:37 -04:00 committed by Tomas Cohen Arazi
parent 71e51f6c10
commit 93bc6851b6
2 changed files with 24 additions and 0 deletions

View File

@ -694,6 +694,18 @@
</span>
</xsl:if>
<!-- Bug 13385 Added 508 field -->
<xsl:if test="marc:datafield[@tag=508]">
<div class="results_summary prod_credits">
<span class="label">Production Credits: </span>
<xsl:for-each select="marc:datafield[@tag=508]">
<xsl:call-template name="subfieldSelectSpan">
<xsl:with-param name="codes">a</xsl:with-param>
</xsl:call-template>
</xsl:for-each>
</div>
</xsl:if>
<!-- 773 -->
<xsl:if test="marc:datafield[@tag=773]">
<xsl:for-each select="marc:datafield[@tag=773]">

View File

@ -795,6 +795,18 @@
</xsl:for-each>
</xsl:if>
<!-- Bug 13385 Added 508 field -->
<xsl:if test="marc:datafield[@tag=508]">
<div class="results_summary prod_credits">
<span class="label">Production Credits: </span>
<xsl:for-each select="marc:datafield[@tag=508]">
<xsl:call-template name="subfieldSelectSpan">
<xsl:with-param name="codes">a</xsl:with-param>
</xsl:call-template>
</xsl:for-each>
</div>
</xsl:if>
<!-- 586 -->
<xsl:if test="marc:datafield[@tag=586]">
<span class="results_summary awardsnote">