From c2e45d265b77bafcb60506e7a34f31656094b0ab Mon Sep 17 00:00:00 2001 From: Mark Hofstetter Date: Sun, 11 Sep 2022 16:06:18 +0200 Subject: [PATCH] Bug 30162 - XSLT has broken link for traced series because of OPAC/staff interface confusion the link to for series defined in 830$w in OPAC is generated incorrectly this patch creates the link properly to test: 1. set UseControlNumber to "Use" 2. for the BKS Framework make 830 $0 $w $t $v editable 3. choose two records: A (eg Perl best practices / Damian Conway. (Record number 5)) as child B Programming Perl / Tom Christiansen, Brian D. Foy & Larry Wall. (Record number 262) as parent record 4. edit the child record, - set 490 indicator 1 to 1 - set 830$w (and maybe 830$0 to control-number of the parent in my case 17259930) - set 830$t = "perl series title" and 830$v = "Volume 1" 5. before the pathc you'll get a 404 error because of the wrong 6. apply patch 7. the link should now work, and point to the series, (not to the parent record) --- koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl index 20d2c0ae83..21f0064629 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl @@ -470,7 +470,7 @@ - ?q=control-number: + ?q=rcn: -- 2.20.1