Bug 9363: Show Patent control information and report number (MARC21, XSLT, detail pages)
Adds 088 $a and 013 $a,c,d,e,f to OPAC and intranet detail pages for MARC21 and XSLT. To test: 1) Check records with single and multiple 013 and 088 fields with different subfields catalogued. 2) Check records with no 088 or 013 present. 3) Verify display is ok and consistent. Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com> Verified in opac and staff client by following all tests. Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
This commit is contained in:
parent
0b3b23e46f
commit
cdb6c1e363
|
|
@ -395,6 +395,31 @@
|
|||
</span>
|
||||
</xsl:if>
|
||||
|
||||
<xsl:if test="marc:datafield[@tag=013]">
|
||||
<span class="results_summary patent_info">
|
||||
<span class="label">Patent information: </span>
|
||||
<xsl:for-each select="marc:datafield[@tag=013]">
|
||||
<xsl:call-template name="subfieldSelect">
|
||||
<xsl:with-param name="codes">acdef</xsl:with-param>
|
||||
<xsl:with-param name="delimeter">, </xsl:with-param>
|
||||
</xsl:call-template>
|
||||
<xsl:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose>
|
||||
</xsl:for-each>
|
||||
</span>
|
||||
</xsl:if>
|
||||
|
||||
<xsl:if test="marc:datafield[@tag=088]">
|
||||
<span class="results_summary report_number">
|
||||
<span class="label">Report number: </span>
|
||||
<xsl:for-each select="marc:datafield[@tag=088]">
|
||||
<xsl:call-template name="subfieldSelect">
|
||||
<xsl:with-param name="codes">a</xsl:with-param>
|
||||
</xsl:call-template>
|
||||
<xsl:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose>
|
||||
</xsl:for-each>
|
||||
</span>
|
||||
</xsl:if>
|
||||
|
||||
<!-- Other Title Statement: Alternate Graphic Representation (MARC 880) -->
|
||||
<xsl:if test="$display880">
|
||||
<xsl:call-template name="m880Select">
|
||||
|
|
|
|||
|
|
@ -401,6 +401,31 @@
|
|||
</span>
|
||||
</xsl:if>
|
||||
|
||||
<xsl:if test="marc:datafield[@tag=013]">
|
||||
<span class="results_summary patent_info">
|
||||
<span class="label">Patent information: </span>
|
||||
<xsl:for-each select="marc:datafield[@tag=013]">
|
||||
<xsl:call-template name="subfieldSelect">
|
||||
<xsl:with-param name="codes">acdef</xsl:with-param>
|
||||
<xsl:with-param name="delimeter">, </xsl:with-param>
|
||||
</xsl:call-template>
|
||||
<xsl:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose>
|
||||
</xsl:for-each>
|
||||
</span>
|
||||
</xsl:if>
|
||||
|
||||
<xsl:if test="marc:datafield[@tag=088]">
|
||||
<span class="results_summary report_number">
|
||||
<span class="label">Report number: </span>
|
||||
<xsl:for-each select="marc:datafield[@tag=088]">
|
||||
<xsl:call-template name="subfieldSelect">
|
||||
<xsl:with-param name="codes">a</xsl:with-param>
|
||||
</xsl:call-template>
|
||||
<xsl:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose>
|
||||
</xsl:for-each>
|
||||
</span>
|
||||
</xsl:if>
|
||||
|
||||
<!-- Other Title Statement: Alternate Graphic Representation (MARC 880) -->
|
||||
<xsl:if test="$display880">
|
||||
<xsl:call-template name="m880Select">
|
||||
|
|
|
|||
Loading…
Reference in New Issue