From 7f850b8d355c1b43a8b5928552dfe7a240aaa0f1 Mon Sep 17 00:00:00 2001 From: Janusz Kaczmarek Date: Mon, 31 Mar 2025 14:03:50 +0000 Subject: [PATCH] Bug 39500: Subfield 111 $n is badly displayed in OPAC (MARC21) If the main heading is 111 and id contains subfield $n, the content of this subfield is badly displayed in OPAC: at the beginning of the heading text (right after "By:"), and then correctly, as the part of the link. Test plan: ========== 1. Check if the 111 $n subfield is available in the framework you are using. If not, activate it (Editor checkbox). 2. Take any bibliographic record and replace the main heading with a conference heading (111), e.g.: 111 $a Annual Koha Hackfest $n (13 : $c Marseille : $d 2025) Control in OPAC that the $n subfield is displayed twice (first time at the beginning) 3. Apply the patch ; restart_all 4. Check the result in OPAC: the main heading should be displayed correctly now. Signed-off-by: Thomas Klausner Signed-off-by: Marcel de Rooy Signed-off-by: Katrin Fischer (cherry picked from commit 34870b7d6a7f9b2e2aa5987e612db103964146c0) Signed-off-by: Fridolin Somers --- .../bootstrap/en/xslt/MARC21slim2OPACDetail.xsl | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl index 4e4acc5f16..522faad105 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl @@ -1850,16 +1850,6 @@
  • - - - - - - n - - - -