From f9c6cb0f9bc463284e5d71ba60808ea569fe9563 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Thu, 7 Aug 2014 09:55:49 +0200 Subject: [PATCH] Bug 12725: Show RDA tag 264 on Intranet Results and Detail XSLT view (MARC21) As bugs 12724 and 12726 did on OPAC, this patch adds similar changes to Intranet Results and Details XSLT view. It shows information from tag 264 on the Publisher line of Intranet Results and Detail. 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 Intranet Results. [3] Check the display of Intranet Detail. Signed-off-by: Bernardo Gonzalez Kriegel Results and detail show 264. I added 2 but only shows the second, is that right? [Reply from marcel:] Yes. Based on the rules described, it picks the most 'appropriate' 264. Signed-off-by: Brendan Gallagher --- .../prog/en/xslt/MARC21slim2intranetDetail.xsl | 16 ++++- .../prog/en/xslt/MARC21slim2intranetResults.xsl | 16 ++++- .../intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl | 62 ++++++++++++++++++++ 3 files changed, 90 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl index 003f528..e7bf6d1 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl @@ -299,7 +299,9 @@ - + + + Publisher: @@ -325,8 +327,18 @@ ; + + ; + + - + + + + + + + diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl index e27419d..b62c41b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl @@ -746,7 +746,9 @@ - + + + Publisher: @@ -770,8 +772,18 @@ ; + + ; + + - + + + + + + + diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl index 7334d03..c1b52f3 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl @@ -187,7 +187,69 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Producer: + + + Publisher: + + + Distributor: + + + Manufacturer: + + + + + + + -- 1.7.10.4