Bug 39507

Summary: Make the MARC21 008 plugin more precise for MU
Product: Koha Reporter: Janusz Kaczmarek <januszop>
Component: CatalogingAssignee: Janusz Kaczmarek <januszop>
Status: Signed Off --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: m.de.rooy
Version: unspecified   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: Trivial patch Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Bug 39507: Make the MARC21 008 plugin more precise for MU
Bug 39507: Make the MARC21 008 plugin more precise for MU

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>