Project

General

Profile

Feature #191

PUSH TO COMMUNITY - NATIONAL LIBRARY OF MEDICINE call number missing from XSLT-details.

Added by Olli-Antti Kivilahti about 2 years ago. Updated 11 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Start date:
20.11.2019
Due date:
% Done:

0%

Estimated time:
Spent time:
Koha Bugzilla Bug#:

Description

For PKKS.

From dev fund.

History

#1

Updated by Olli-Antti Kivilahti about 2 years ago

root@koha-production-pkks:/home/koha/Koha# cat 0002-PUSH-TO-COMMUNITY-NATIONAL-LIBRARY-OF-MEDICINE-call-.patch 
From 2ebec231365176bcf17f803dd74a834a86a0be0c Mon Sep 17 00:00:00 2001
From: root <root@koha-production-pkks.lxd>
Date: Wed, 20 Nov 2019 03:34:52 +0200
Subject: [PATCH 2/2] PUSH TO COMMUNITY - NATIONAL LIBRARY OF MEDICINE call
 number missing from XSLT-details.

Also add to OPAC XSLT in community.

Koha-Suomi has removed call numbers from searchresults.
---
 .../prog/en/xslt/MARC21slim2intranetDetail.xsl  | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl
index 9357b4cac0..f327e7503f 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl
+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl
@@ -901,6 +901,23 @@
             </span>
         </xsl:if>

+<!-- DDC classification -->
+    <xsl:if test="marc:datafield[@tag=060]">
+        <span class="results_summary ddc">
+            <span class="label">NLM classification: </span>
+            <xsl:for-each select="marc:datafield[@tag=060]">
+                <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>
+
 <!-- DDC classification -->
     <xsl:if test="marc:datafield[@tag=082]">
         <span class="results_summary ddc">
-- 
2.17.1

#2

Updated by Lari Taskula 11 months ago

  • Project changed from Koha Development to Koha Fund

Also available in: Atom PDF