From eeeb15c8f8db59c36108110a417b132a5d8bab85 Mon Sep 17 00:00:00 2001 From: Bernardo Gonzalez Kriegel Date: Wed, 2 May 2018 19:42:22 -0300 Subject: [PATCH] Bug 20700: MARC21 add/update leader/007/008 codes This add/updates some codes from updates 22 (Apr/16) and 23 (Nov/16) Update 22 https://www.loc.gov/marc/up22bibliographic/bdapndxg.html Sound Recording 007/03 n (new) Sound Recording 007/10 n (new) Sound Recording 007/01 r (new) Sound Recording 007/01 s (new) Update 23 https://www.loc.gov/marc/up23bibliographic/bdapndxg.html Leader/18 n (new) Music 008/20 p (new), b (renamed) To test: 1) Apply the patch 2) Clean your browser cache 3) Go to cataloguing -> new record 4) Leader plugin: check leader/18, new option 'n' 5) 007 Plugin: a) Sound recording check 007/01 new 'r' check 007/03 new 'n' check 007/10 new 'n' b) Electronic resource check 007/01 new 's' 6) 008 Plugin: Music, check 008/20 renamed 'b', new 'p' Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi Signed-off-by: Nick Clemens --- .../prog/en/data/marc21_field_008.xml | 3 +- .../en/includes/cateditor-widgets-marc21.inc | 1 + .../value_builder/marc21_field_007.tt | 38 ++++++++++++++++++- .../value_builder/marc21_leader.tt | 5 +++ 4 files changed, 45 insertions(+), 2 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 eb62dd503f..de577816a9 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 @@ -824,7 +824,7 @@ Format of musicOne-character code that indicates the format of a musical composition (e.g., piano-conductor score). "Staff notation" in this element refers to music written using staves. "Musical notation" refers to music written using staves or graphic, symbolic, or word-based notation. Full score - Full score, miniature or study size + Miniature or study size Accompaniment reduced for keyboard Voice score with accompaniment omitted Condensed score or piano-conductor score @@ -836,6 +836,7 @@ Score Multiple score formats Not applicable + Piano score Unknown Other No attempt to code diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-widgets-marc21.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-widgets-marc21.inc index 6db5d7e5ca..ba049d5239 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-widgets-marc21.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-widgets-marc21.inc @@ -57,6 +57,7 @@ +