Bug 12501: Show dissertation note (MARC21 502) in XSLT results
Bug 9356 added the dissertation note from MARC21 502 to the staff and OPAC detail pages. This patch adds it to the result list. 1) Catalog a record with 502 Examples: http://www.loc.gov/marc/bibliographic/bd502.html 2) Important: Wait until the record got indexed by Zebra or index it manually. 3) Verify your note shows up on the detail pages in staff and OPAC 4) Verfiy note also shows up on the result pages in staff and OPAC 5) Hide the dissertation note from display: OpacUserCSS: .diss_note { display:none; } IntranetUserCSS: .diss_note { display:none; } 6) Verify CSS works and all looks like before... Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> Work as describes, value can be hidden using css, no koha-qa errors Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
This commit is contained in:
parent
fa678fa241
commit
99e3da58d4
|
|
@ -754,6 +754,19 @@
|
|||
</span>
|
||||
</xsl:if>
|
||||
|
||||
<!-- Dissertation note -->
|
||||
<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:if test="marc:datafield[@tag=300]">
|
||||
<span class="results_summary description"><span class="label">Description: </span>
|
||||
<xsl:for-each select="marc:datafield[@tag=300]">
|
||||
|
|
|
|||
|
|
@ -913,6 +913,19 @@
|
|||
</span>
|
||||
</xsl:if>
|
||||
|
||||
<!-- Dissertation note -->
|
||||
<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>
|
||||
|
||||
<!-- Other Title Statement: Alternate Graphic Representation (MARC 880) -->
|
||||
<xsl:if test="$display880">
|
||||
<xsl:call-template name="m880Select">
|
||||
|
|
|
|||
Loading…
Reference in New Issue