From 2f0fc5f45abdd9ee31a2bebf40a634a397fdfd93 Mon Sep 17 00:00:00 2001 From: Hector Castro Date: Fri, 5 Feb 2016 00:40:51 -0600 Subject: [PATCH] Bug 14304: RDA: Intranet display link in XSLT for 264 field to reflect Zebra indexing This patch add display link in XSLT for 264 for bug 14198 and reflect the Zebra indexing 'Provider' in detail page for Intranet. Test plan 1) Update zebra index if no Provider: index exist 2) Do a search by Provider: 3) Goto detail page for a record with 264 4) Look that there no display link for 264 field. 5) Apply the patch 6) Reload the page, notice about the link, click the link an confirm the new index Provider works fine 7) Test with multiple records with 260 and 264, if you prefer follow test plan for bug 14734 8) Access an RCAA2 record just with 260 field 9) Notice that 260 has been updated with Provider index too. NOTE: The intention of Provider index -according with documentation- is to collect multiples fields including 260, 264, 270, and 257 Sponsored-by: Universidad de El Salvador Signed-off-by: Katrin Fischer Signed-off-by: Marcel de Rooy Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com --- .../en/xslt/MARC21slim2intranetDetail.xsl | 6 ++- .../prog/en/xslt/MARC21slimUtils.xsl | 40 ++++++++++++++++++- 2 files changed, 42 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 d42e75a103..d3b499789d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl @@ -314,7 +314,9 @@ - + + 1 + Publisher: @@ -326,7 +328,7 @@ - + b diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl index 9d1264384c..192107b280 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl @@ -218,11 +218,13 @@ The preferred tag is saved in the fav variable and passed to a helper named-template --> + + @@ -230,6 +232,7 @@ + @@ -237,6 +240,7 @@ + @@ -256,9 +260,41 @@ Copyright date: - - abc + + + + a + + + + + + + + + + b + + + + + + + + b + + + + + + + + + c + + + -- 2.39.5