From cbee7865144e745ae1aaa1ff481125fe97429ec0 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Tue, 14 Feb 2023 09:36:45 +0000 Subject: [PATCH] Bug 30162: Fix staff interface link in OPAC XSLT files for 830$w MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit All the links in the Utils files shoudl be built using the $searchurl variable to adapt the link to either staff or OPAC. To test: * Enable UseControlNumber system preference * Create a record with the following fields: 490 1 _ ‡aEffective software development series 830 _ 0 ‡aEffective software development series.‡w13736978 $w can be anything for this use case or another $w from your catalog. Easiest might be to enable the Advanced cataloguing editor to be able to insert these lines easily. If you are using the sample data, the example shoudl work as is. * Save the record and open it in the staff interface and the OPAC * The link in the OPAC should be broken, staff should work * Apply patch * Now both links should work Co-authored-by: Anke Bruns Signed-off-by: David Nind Signed-off-by: Nick Clemens Signed-off-by: Tomas Cohen Arazi (cherry picked from commit 55c89d871558b430399c6911894448b2d2264b6d) Signed-off-by: Matt Blenkinsop --- koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl | 2 +- koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl index d9a49ffcf5..470a3f247e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl @@ -515,7 +515,7 @@ - + ?q=rcn: diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl index e899b81099..7e6e702064 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl @@ -478,7 +478,7 @@ - + ?q=rcn: -- 2.20.1