From 80ccf4a1101930f2e58624dce87d2e1fcadeb59a Mon Sep 17 00:00:00 2001 From: Jared Camins-Esakov Date: Thu, 8 Dec 2011 09:18:37 -0500 Subject: [PATCH] Bug 7332: Translated title (MARC21 242) not shown The cataloger-supplied translated title stored in MARC21 field 242 was not being displayed when XSLT was enabled. Test plan: 1) Enable XSLT for OPAC Details and Results, and Intranet Details. 2) Create or add a record with a 242 field 3) See that the translated title is not displayed in OPAC Details or Results, or Intranet Details 4) Apply patch 5) See that the translated title is now displayed in OPAC Details and Results, and Intranet Details Signed-off-by: Duncan Tyler Signed-off-by: Paul Poulain (cherry picked from commit 9156de6384cf2ca0a04f2df7697b0c672781166c) Signed-off-by: Chris Nighswonger (cherry picked from commit 021ea1afd5f8d4e92e81e7643208f4f37dd36548) Signed-off-by: Chris Nighswonger --- .../prog/en/xslt/MARC21slim2intranetDetail.xsl | 15 +++++++++++++++ .../prog/en/xslt/MARC21slim2OPACDetail.xsl | 16 ++++++++++++++++ .../prog/en/xslt/MARC21slim2OPACResults.xsl | 11 +++++++++++ 3 files changed, 42 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl index 718bb9b62a..70efcd86fd 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl @@ -400,6 +400,21 @@ + + Title translated: + + + + + abchnp + + + + .; + + + + diff --git a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl index f9a69fb7b7..48807f0556 100755 --- a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl +++ b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl @@ -463,6 +463,22 @@ + + + Title translated: + + + + + abchnp + + + + .; + + + + diff --git a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACResults.xsl b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACResults.xsl index 9c6c307c3b..d742a29fb6 100644 --- a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACResults.xsl +++ b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACResults.xsl @@ -904,6 +904,17 @@ + + + Title translated: + + + abh + + .; + + + Online Access: -- 2.39.5