From 02ed849b578d2aab88d1a5fdb44a08295a786650 Mon Sep 17 00:00:00 2001 From: Winona Salesky Date: Wed, 3 Jun 2015 23:27:10 -0400 Subject: [PATCH] Bug 14054 - 246 XSLT Improvements Add title type in brackets for field 246 based on 2nd indicator. Overridden by subfield i. Applies to OPAC and staff details. Test Plan: 1) Apply this patch 2) Ensure you are using the default XSLT setting for the staff and opac search results and record details 3) Find or create a record with MARC tags 246 with populated ind2 4) Title types are added in brackets following title, unless subfield i exists. Then ind2 value is suppressed. 6) Repeat test for the staff interface --- .../prog/en/xslt/MARC21slim2intranetDetail.xsl | 13 +++++++++++++ .../opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl | 13 +++++++++++++ 2 files changed, 26 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl index 5735650..7ad354b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl @@ -477,6 +477,19 @@ + + + [Portion of title] + [Parallel title] + [Distinctive title] + [Other title] + [Cover title] + [Added title page title] + [Caption title] + [Running title] + [Spine title] + + . | diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl index 00b28ae..93a9d16 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl @@ -517,6 +517,19 @@ + + + [Portion of title] + [Parallel title] + [Distinctive title] + [Other title] + [Cover title] + [Added title page title] + [Caption title] + [Running title] + [Spine title] + + . | -- 2.3.2 (Apple Git-55)