Bug 39507 - Make the MARC21 008 plugin more precise for MU
Summary: Make the MARC21 008 plugin more precise for MU
Status: Pushed to main
Alias: None
Product: Koha
Classification: Unclassified
Component: Cataloging (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low enhancement
Assignee: Janusz Kaczmarek
QA Contact: Tomás Cohen Arazi (tcohen)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-01 11:41 UTC by Janusz Kaczmarek
Modified: 2025-09-29 20:05 UTC (History)
2 users (show)

See Also:
GIT URL:
Initiative type: ---
Sponsorship status: ---
Crowdfunding goal: 0
Patch complexity: Trivial patch
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
25.11.00
Circulation function:


Attachments
Bug 39507: Make the MARC21 008 plugin more precise for MU (15.20 KB, patch)
2025-04-01 11:58 UTC, Janusz Kaczmarek
Details | Diff | Splinter Review
Bug 39507: Make the MARC21 008 plugin more precise for MU (15.25 KB, patch)
2025-04-01 14:36 UTC, Roman Dolny
Details | Diff | Splinter Review
Bug 39507: Make the MARC21 008 plugin more precise for MU (15.39 KB, patch)
2025-09-22 14:38 UTC, Tomás Cohen Arazi (tcohen)
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-04-01 11:41:45 UTC
According to https://loc.gov/marc/bibliographic/bd008m.html, the content of 008/24-29 and 008/30-31 fr Music (leader/6 = c, d, i, or j) is made of one character codes (as it is the case for 008/24-27 for Books). Now, in Koha 008/24-29 and 008/30-31 are input fields with no possibility to chose the code from a list. This could (and should) be improved.
Comment 1 Janusz Kaczmarek 2025-04-01 11:58:54 UTC
Created attachment 180135 [details] [review]
Bug 39507: Make the MARC21 008 plugin more precise for MU

According to https://loc.gov/marc/bibliographic/bd008m.html, the content
of 008/24-29 and 008/30-31 fr Music (leader/6 = c, d, i, or j) is made
of one character codes (as it is the case for 008/24-27 for Books).
Now, in Koha 008/24-29 and 008/30-31 are input fields with no
possibility to chose the code from a list. This could (and should)
be improved.

Test plan:
==========
1. Open a standard biblio editor, chose the plugin for 008 field,
   change Type of Material to MU - Music. See that 24-29 and 30-31
   (Accompanying matter and Literary text for sound recordings )are
   multi character input fields.
2. Apply the patch ; restart_all.
3. Repeat p. 1. See that now 24-29 and 30-31 are split in a series
   of one-character drop-down menus.

BTW a link to a list of codes for 'Form of composition' (008/18-19)
has been also added.
Comment 2 Roman Dolny 2025-04-01 14:36:12 UTC
Created attachment 180206 [details] [review]
Bug 39507: Make the MARC21 008 plugin more precise for MU

According to https://loc.gov/marc/bibliographic/bd008m.html, the content
of 008/24-29 and 008/30-31 fr Music (leader/6 = c, d, i, or j) is made
of one character codes (as it is the case for 008/24-27 for Books).
Now, in Koha 008/24-29 and 008/30-31 are input fields with no
possibility to chose the code from a list. This could (and should)
be improved.

Test plan:
==========
1. Open a standard biblio editor, chose the plugin for 008 field,
   change Type of Material to MU - Music. See that 24-29 and 30-31
   (Accompanying matter and Literary text for sound recordings )are
   multi character input fields.
2. Apply the patch ; restart_all.
3. Repeat p. 1. See that now 24-29 and 30-31 are split in a series
   of one-character drop-down menus.

BTW a link to a list of codes for 'Form of composition' (008/18-19)
has been also added.

Signed-off-by: Roman Dolny <roman.dolny@jezuici.pl>
Comment 3 Tomás Cohen Arazi (tcohen) 2025-09-22 14:37:35 UTC
Love this :-D
Comment 4 Tomás Cohen Arazi (tcohen) 2025-09-22 14:38:51 UTC
Created attachment 186722 [details] [review]
Bug 39507: Make the MARC21 008 plugin more precise for MU

According to https://loc.gov/marc/bibliographic/bd008m.html, the content
of 008/24-29 and 008/30-31 fr Music (leader/6 = c, d, i, or j) is made
of one character codes (as it is the case for 008/24-27 for Books).
Now, in Koha 008/24-29 and 008/30-31 are input fields with no
possibility to chose the code from a list. This could (and should)
be improved.

Test plan:
==========
1. Open a standard biblio editor, chose the plugin for 008 field,
   change Type of Material to MU - Music. See that 24-29 and 30-31
   (Accompanying matter and Literary text for sound recordings )are
   multi character input fields.
2. Apply the patch ; restart_all.
3. Repeat p. 1. See that now 24-29 and 30-31 are split in a series
   of one-character drop-down menus.

BTW a link to a list of codes for 'Form of composition' (008/18-19)
has been also added.

Signed-off-by: Roman Dolny <roman.dolny@jezuici.pl>
Signed-off-by: Tomás Cohen Arazi <tomascohen@theke.io>
Comment 5 Tomás Cohen Arazi (tcohen) 2025-09-22 14:39:26 UTC
Works as expected. The lists are comprehensive. QA script happy.

Thanks, Janusz!
Comment 6 Lucas Gass (lukeg) 2025-09-29 20:05:57 UTC
Nice work everyone!

Pushed to main for 25.11