Bug 9356: Show Dissertation note (MARC21 502) in XSLT

Shows dissertation note in OPAC and intranet detail pages.

To test:
1) Look at records with and without 502 in intranet and OPAC
2) Verify display is correct and consistent

Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>
All tests pass in staff and opac
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:
Katrin Fischer 2013-01-08 10:17:40 +01:00 committed by Jared Camins-Esakov
parent 22a3a4089f
commit 11f91dc316
2 changed files with 25 additions and 1 deletions

View file

@ -648,6 +648,18 @@
</xsl:for-each>
</xsl:if>
<xsl:if test="marc:datafield[@tag=502]">
<span class="results_summary diss_note">
<span class="label">Dissertation note: </span>
<xsl:for-each select="marc:datafield[@tag=502]">
<xsl:call-template name="subfieldSelect">
<xsl:with-param name="codes">abcdgo</xsl:with-param>
</xsl:call-template>
</xsl:for-each>
<xsl:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><xsl:text> </xsl:text></xsl:otherwise></xsl:choose>
</span>
</xsl:if>
<!-- 866 textual holdings -->
<xsl:if test="marc:datafield[@tag=866]">
<span class="results_summary holdings_note"><span class="label">Holdings note: </span>

View file

@ -716,7 +716,7 @@
</xsl:if>
<xsl:for-each select="marc:datafield[@tag=511]">
<span class="results_summary summary">
<span class="results_summary perf_note">
<span class="label">
<xsl:if test="@ind1=1"><xsl:text>Cast: </xsl:text></xsl:if>
</span>
@ -726,6 +726,18 @@
</span>
</xsl:for-each>
<xsl:if test="marc:datafield[@tag=502]">
<span class="results_summary diss_note">
<span class="label">Dissertation note: </span>
<xsl:for-each select="marc:datafield[@tag=502]">
<xsl:call-template name="subfieldSelect">
<xsl:with-param name="codes">abcdgo</xsl:with-param>
</xsl:call-template>
</xsl:for-each>
<xsl:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><xsl:text> </xsl:text></xsl:otherwise></xsl:choose>
</span>
</xsl:if>
<xsl:for-each select="marc:datafield[@tag=520]">
<span class="results_summary summary"><span class="label">
<xsl:choose>