From 72ab814737a9cd11860ad06dd65286f5bd7240e3 Mon Sep 17 00:00:00 2001 From: Fridolin Somers Date: Fri, 14 May 2021 16:02:57 +0200 Subject: [PATCH] Search link for 260 a and c in MARC21 XSLT OPAC display In MARC21 XSLT OPAC display, 260$b is a search link on 'Provider'. $a and $c also have a search field, we can create search links. Test plan: 1) Create 2 records with same 260 : two $a, one $b, two $c 2) Use XSLT display in OPAC 2) Look at first record details page in OPAC 3) Click on a $a link => you see both records 4) Click on a $c link => you see both records https://bugs.koha-community.org/show_bug.cgi?id=27850 --- .../en/xslt/MARC21slim2OPACDetail.xsl | 34 ++++++++++++++----- 1 file changed, 25 insertions(+), 9 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl index 4341bf0950..405106956d 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl @@ -326,13 +326,17 @@ Publication details: - - - - a - - - + + + + /cgi-bin/koha/opac-search.pl?q=pl:"" + + + + + + + @@ -345,12 +349,24 @@ - + + + + /cgi-bin/koha/opac-search.pl?q=copydate:"" + + + + + + + + + - cg + g -- 2.30.2