From bde63f99975e33f3fc7d7460707e8c7a3c65b7ee Mon Sep 17 00:00:00 2001 From: Janusz Kaczmarek Date: Tue, 1 Apr 2025 11:46:41 +0000 Subject: [PATCH] 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 --- .../prog/en/data/marc21_field_008.xml | 115 +++++++++++++++++- 1 file changed, 112 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/data/marc21_field_008.xml b/koha-tmpl/intranet-tmpl/prog/en/data/marc21_field_008.xml index 4097f388ad..b69e3d48b3 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/data/marc21_field_008.xml +++ b/koha-tmpl/intranet-tmpl/prog/en/data/marc21_field_008.xml @@ -747,7 +747,7 @@ Two-character alphabetic code Three-character alphabetic code - Form of compositionTwo-character alphabetic code that indicates the form of composition. Codes are based on Library of Congress subject headings. If more than one code is appropriate, the code mu (Multiple forms) is used in 008/18-19 and all appropriate specific codes are given in field 047 (Form of Composition). Code mu (Multiple forms) may also signify that field 047 (Form of Composition) contains non-MARC composition codes. + MARC codes for Form of compositionForm of compositionTwo-character alphabetic code that indicates the form of composition. Codes are based on Library of Congress subject headings. If more than one code is appropriate, the code mu (Multiple forms) is used in 008/18-19 and all appropriate specific codes are given in field 047 (Form of Composition). Code mu (Multiple forms) may also signify that field 047 (Form of Composition) contains non-MARC composition codes. Anthems Ballads Bluegrass music @@ -875,7 +875,7 @@ Electronic No attempt to code - Accompanying matterUp to six one-character alphabetic codes (recorded in alphabetical order) that indicate the contents of program notes and other accompanying material for sound recording, music manuscripts, or notated music. If fewer than six codes are assigned, the codes are left justified and each unused position contains a blank (#). + Accompanying matter - code 1Up to six one-character alphabetic codes (recorded in alphabetical order) that indicate the contents of program notes and other accompanying material for sound recording, music manuscripts, or notated music. If fewer than six codes are assigned, the codes are left justified and each unused position contains a blank (#). No accompanying matter Discography Bibliography @@ -892,7 +892,116 @@ Other No attempt to code - Literary text for sound recordingsUp to two one-character codes (recorded in the order of the following list) that indicate the type of literary text contained in a nonmusical sound recording. If only one code is assigned, it is left justified and the unused position contains a blank (#). + Accompanying matter - code 2Up to six one-character alphabetic codes (recorded in alphabetical order) that indicate the contents of program notes and other accompanying material for sound recording, music manuscripts, or notated music. If fewer than six codes are assigned, the codes are left justified and each unused position contains a blank (#). + No accompanying matter + Discography + Bibliography + Thematic index + Libretto or text + Biography of composer or author + Biography of performer or history of ensemble + Technical and/or historical information on instruments + Technical information on music + Historical information + Ethnological information + Instructional materials + Music + Other + No attempt to code + + Accompanying matter - code 3Up to six one-character alphabetic codes (recorded in alphabetical order) that indicate the contents of program notes and other accompanying material for sound recording, music manuscripts, or notated music. If fewer than six codes are assigned, the codes are left justified and each unused position contains a blank (#). + No accompanying matter + Discography + Bibliography + Thematic index + Libretto or text + Biography of composer or author + Biography of performer or history of ensemble + Technical and/or historical information on instruments + Technical information on music + Historical information + Ethnological information + Instructional materials + Music + Other + No attempt to code + + Accompanying matter - code 4Up to six one-character alphabetic codes (recorded in alphabetical order) that indicate the contents of program notes and other accompanying material for sound recording, music manuscripts, or notated music. If fewer than six codes are assigned, the codes are left justified and each unused position contains a blank (#). + No accompanying matter + Discography + Bibliography + Thematic index + Libretto or text + Biography of composer or author + Biography of performer or history of ensemble + Technical and/or historical information on instruments + Technical information on music + Historical information + Ethnological information + Instructional materials + Music + Other + No attempt to code + + Accompanying matter - code 5Up to six one-character alphabetic codes (recorded in alphabetical order) that indicate the contents of program notes and other accompanying material for sound recording, music manuscripts, or notated music. If fewer than six codes are assigned, the codes are left justified and each unused position contains a blank (#). + No accompanying matter + Discography + Bibliography + Thematic index + Libretto or text + Biography of composer or author + Biography of performer or history of ensemble + Technical and/or historical information on instruments + Technical information on music + Historical information + Ethnological information + Instructional materials + Music + Other + No attempt to code + + Accompanying matter - code 6Up to six one-character alphabetic codes (recorded in alphabetical order) that indicate the contents of program notes and other accompanying material for sound recording, music manuscripts, or notated music. If fewer than six codes are assigned, the codes are left justified and each unused position contains a blank (#). + No accompanying matter + Discography + Bibliography + Thematic index + Libretto or text + Biography of composer or author + Biography of performer or history of ensemble + Technical and/or historical information on instruments + Technical information on music + Historical information + Ethnological information + Instructional materials + Music + Other + No attempt to code + + Literary text for sound recordings - code 1Up to two one-character codes (recorded in the order of the following list) that indicate the type of literary text contained in a nonmusical sound recording. If only one code is assigned, it is left justified and the unused position contains a blank (#). + Item is a music sound recording + Autobiography + Biography + Conference proceedings + Drama + Essays + Fiction + Reporting + History + Instruction + Language instruction + Comedy + Lectures, speeches + Memoirs + Not applicable + Folktales + Poetry + Rehearsals + Sounds + Interviews + Other + No attempt to code + + Literary text for sound recordings - code 2Up to two one-character codes (recorded in the order of the following list) that indicate the type of literary text contained in a nonmusical sound recording. If only one code is assigned, it is left justified and the unused position contains a blank (#). Item is a music sound recording Autobiography Biography -- 2.39.5