From 5b9e675937a1ebd84cac284bd5c7505c82147b04 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Thu, 7 Aug 2014 09:25:41 +0200 Subject: [PATCH] [SIGNED-OFF] Bug 12726: Show RDA tag 264 on OPAC Results XSLT view (MARC21) 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. Signed-off-by: Bernardo Gonzalez Kriegel On top of 12724, no change on detail, more data on results. No koha-qa errors --- .../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 ea6af38..2ccc5fc 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.9.5