]> git.koha-community.org Git - koha.git/commit
Bug 29185: Display MARC tag 765 in OPAC and intranet XSLT
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Thu, 13 Apr 2023 06:59:35 +0000 (06:59 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 10 May 2023 18:26:29 +0000 (15:26 -0300)
commit6d43659f7983943b020a041b3a04e768cc496084
treeded91356d31bbddff05b26952cc5e318ad4e6306
parent6afc14bc60b20adc7d70b6a35d802e8a9dddd99f
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 <m.de.rooy@rijksmuseum.nl>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl
koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl