Added the 866z to the MARC21slim2OPACDetail.xsl file so that it displays
just above the 780 and 785 fields.
---
 .../prog/en/xslt/MARC21slim2OPACDetail.xsl         |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl 
b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl
index 795856e..2fbc203 100644
--- a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl
+++ b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl
@@ -481,6 +481,16 @@
         </xsl:for-each>
         </xsl:if>
 
+       <!-- 866 holdings public note -->
+        <xsl:if test="marc:datafie...@tag=866]">
+        <span class="results_summary"><span class="label">Holdings Note: 
</span>
+        <xsl:for-each select="marc:datafie...@tag=866]">
+                <xsl:value-of select="marc:subfie...@code='z']"/>
+                <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>
+
         <!-- 780 -->
         <xsl:if test="marc:datafie...@tag=780]">
         <xsl:for-each select="marc:datafie...@tag=780]">
-- 
1.5.6.5

_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha.org/mailman/listinfo/koha-patches

Reply via email to