From 9080052d00150a61ce5cc63b6cd9555a27dc4001 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Thu, 7 Aug 2014 09:25:41 +0200 Subject: [PATCH] Bug 12726: Show RDA tag 264 on OPAC Results XSLT view (MARC21) Content-Type: text/plain; charset=utf-8 This patch adds the same information to the Publisher line of OPAC Results as bug 12724 did on OPAC Detail. To accomplish this and reduce repeated code, two XSLT routines (named templates) are moved from OPACDetail to MARC21slimUtils. Test plan (see also bug 12742 and the rules mentioned there): [1] Add tag 260 and some 264s to your MARC21 record. [2] Check the display of OPAC Details. Should not have changed. [3] Now check also the display of this record in OPAC Results. [4] Change some indicators in the record. Check OPAC Results again. --- .../bootstrap/en/xslt/MARC21slim2OPACDetail.xsl | 61 ------------------- .../bootstrap/en/xslt/MARC21slim2OPACResults.xsl | 16 +++++- .../bootstrap/en/xslt/MARC21slimUtils.xsl | 62 ++++++++++++++++++++ 3 files changed, 76 insertions(+), 63 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl index f79f92d..4c017e1 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl @@ -1070,67 +1070,6 @@ . - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Producer: - - - Publisher: - - - Distributor: - - - Manufacturer: - - - - - - - - - diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl index 9dba489..96e3d19 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl @@ -886,7 +886,9 @@ - + + + Publisher: @@ -910,8 +912,18 @@ ; + + ; + + - + + + + + + + diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl index 9599566..4780b7b 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl @@ -188,7 +188,69 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Producer: + + + Publisher: + + + Distributor: + + + Manufacturer: + + + + + + + -- 1.7.7.6