From c55be17da521e8da0b7640c65aa753c3a8fcfbbd Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Thu, 13 Apr 2023 06:59:35 +0000 Subject: [PATCH] Bug 29185: Display MARC tag 765 in OPAC and intranet XSLT Test plan: ** For OPAC [1] Pick a biblio record A as original entry, fill $001/$003. [2] Pick another biblio record B as translation, add 765 with $t, $a and $d. Put (orgcode)cnum from A into $w. [3] Disable UseControlNumber. [4] Goto OPAC detail page of B. Check link; should be title based. [5] Enable UseControlNumber. [6] Goto OPAC detail page of B. Check link; should incl orgcode and cnum. [7] Edit B. Replace $w with cnum of A only. [8] Goto OPAC detail page of B. Check link; should incl cnum only. ** For staff client [9] Goto staff detail page of B. Check link again. [10] Edit B. Set 765 ind2 to 8, fill $i. [11] Goto staff detail page of B. You should see different label. Signed-off-by: Marcel de Rooy Signed-off-by: David Nind --- .../en/xslt/MARC21slim2intranetDetail.xsl | 45 +++++++++++++++++++ .../en/xslt/MARC21slim2OPACDetail.xsl | 45 +++++++++++++++++++ 2 files changed, 90 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl index 736ee197a9..c7ac227327 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl @@ -1129,6 +1129,51 @@ + + + + + + + Translation of: + + + + + : + + + + + + + + + + + + + + tad + , + + + + + + + + + + + + + + + + + + Supplement: diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl index bfd0f2565e..6493efda20 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl @@ -1368,6 +1368,51 @@ + + + + + + + Translation of: + + + + + : + + + + + + + + + + + + + + tad + , + + + + + + + + + + + + + + + + + + -- 2.40.0