Project

General

Profile

Actions

Feature #191

closed

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

Added by Olli-Antti Kivilahti over 4 years ago. Updated 9 months ago.

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

100%

Estimated time:
Spent time:
Koha Bugzilla Bug#:

Description

For PKKS.

From dev fund.

Actions #1

Updated by Olli-Antti Kivilahti over 4 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

Actions #2

Updated by Lari Taskula over 3 years ago

  • Project changed from Koha Contributions to Koha Fund
Actions #3

Updated by Lari Taskula 9 months ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100
  • Koha Bugzilla Bug# set to 24322
Actions

Also available in: Atom PDF