Bugzilla – Attachment 181158 Details for
Bug 39500
Subfield 111 $n is badly displayed in OPAC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39500: Subfield 111 $n is badly displayed in OPAC (MARC21)
Bug-39500-Subfield-111-n-is-badly-displayed-in-OPA.patch (text/plain), 2.27 KB, created by
Marcel de Rooy
on 2025-04-18 09:33:47 UTC
(
hide
)
Description:
Bug 39500: Subfield 111 $n is badly displayed in OPAC (MARC21)
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2025-04-18 09:33:47 UTC
Size:
2.27 KB
patch
obsolete
>From eb98fef9a462ec8431ae2cd40775fb4edbc94c31 Mon Sep 17 00:00:00 2001 >From: Janusz Kaczmarek <januszop@gmail.com> >Date: Mon, 31 Mar 2025 14:03:50 +0000 >Subject: [PATCH] Bug 39500: Subfield 111 $n is badly displayed in OPAC > (MARC21) >Content-Type: text/plain; charset=utf-8 > >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 <domm@plix.at> > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > .../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 83795d69a7..b4c0c2165e 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >@@ -1851,16 +1851,6 @@ > <ul class="resource_list"> > <xsl:for-each select="$authorfield"> > <li> >- <xsl:choose> >- <xsl:when test="not(@tag=111) or @tag=700 or @tag=710 or @tag=711"/> >- <xsl:when test="marc:subfield[@code='n']"> >- <xsl:text> </xsl:text> >- <xsl:call-template name="subfieldSelect"> >- <xsl:with-param name="codes">n</xsl:with-param> >- </xsl:call-template> >- <xsl:text> </xsl:text> >- </xsl:when> >- </xsl:choose> > <a> > <xsl:choose> > <xsl:when test="marc:subfield[@code=9] and $UseAuthoritiesForTracings='1'"> >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 39500
:
180048
|
180051
|
180077
| 181158