Bug 39500 - Subfield 111 $n is badly displayed in OPAC
Summary: Subfield 111 $n is badly displayed in OPAC
Status: Pushed to main
Alias: None
Product: Koha
Classification: Unclassified
Component: OPAC (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low trivial
Assignee: Janusz Kaczmarek
QA Contact: Marcel de Rooy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-31 14:01 UTC by Janusz Kaczmarek
Modified: 2025-04-22 06:50 UTC (History)
2 users (show)

See Also:
GIT URL:
Change sponsored?: ---
Patch complexity: Trivial patch
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
25.05.00
Circulation function:


Attachments
A screenshot illustrating the problem (36.99 KB, image/png)
2025-03-31 14:01 UTC, Janusz Kaczmarek
Details
Bug 39500: Subfield 111 $n is badly displayed in OPAC (MARC21) (2.13 KB, patch)
2025-03-31 14:12 UTC, Janusz Kaczmarek
Details | Diff | Splinter Review
Bug 39500: Subfield 111 $n is badly displayed in OPAC (MARC21) (2.17 KB, patch)
2025-03-31 15:12 UTC, Thomas Klausner
Details | Diff | Splinter Review
Bug 39500: Subfield 111 $n is badly displayed in OPAC (MARC21) (2.27 KB, patch)
2025-04-18 09:33 UTC, Marcel de Rooy
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Janusz Kaczmarek 2025-03-31 14:01:45 UTC
Created attachment 180048 [details]
A screenshot illustrating the problem

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.
Comment 1 Janusz Kaczmarek 2025-03-31 14:12:56 UTC
Created attachment 180051 [details] [review]
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.
Comment 2 Thomas Klausner 2025-03-31 15:12:57 UTC
Created attachment 180077 [details] [review]
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 <domm@plix.at>
Comment 3 Marcel de Rooy 2025-04-18 09:33:47 UTC
Created attachment 181158 [details] [review]
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 <domm@plix.at>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Comment 4 Katrin Fischer 2025-04-22 06:50:44 UTC
Pushed for 25.05!

Well done everyone, thank you!