From 7c1ff2f3af9469463373d5f3578ecfe2f2a31183 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) Content-Type: text/plain; charset=utf-8 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. --- .../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 3e7503a..90db64f 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 2a49c1c..dafa169 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl @@ -727,7 +727,9 @@ - + + + Publisher: @@ -751,8 +753,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.7.6