Bug 15179 -Field 084 doesnt show on bibliographic record

Signed-off-by: Mirko Tietgen <mirko@abunchofthings.net>

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

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
Karen Jen 2017-01-18 02:19:18 +00:00 committed by Kyle M Hall
parent 4e31223aa0
commit e021bb48a0
2 changed files with 34 additions and 0 deletions

View File

@ -770,6 +770,23 @@
</span>
</xsl:if>
<!-- DDC classification -->
<xsl:if test="marc:datafield[@tag=084]">
<span class="results_summary oc">
<span class="label">Other classification: </span>
<xsl:for-each select="marc:datafield[@tag=084]">
<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>
<xsl:otherwise> | </xsl:otherwise>
</xsl:choose>
</xsl:for-each>
</span>
</xsl:if>
<xsl:if test="marc:datafield[@tag=856]">
<span class="results_summary online_resources"><span class="label">Online resources: </span>
<xsl:for-each select="marc:datafield[@tag=856]">

View File

@ -822,6 +822,23 @@
</span>
</xsl:if>
<!-- DDC classification -->
<xsl:if test="marc:datafield[@tag=084]">
<span class="results_summary oc">
<span class="label">Other classification: </span>
<xsl:for-each select="marc:datafield[@tag=084]">
<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>
<xsl:otherwise> | </xsl:otherwise>
</xsl:choose>
</xsl:for-each>
</span>
</xsl:if>
<!-- Image processing code added here, takes precedence over text links including y3z text -->
<xsl:if test="marc:datafield[@tag=856]">