Bug 20700: MARC21 add/update leader/007/008 codes (17.11.x version)

For Koha 17.11.x version

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'
This commit is contained in:
Bernardo Gonzalez Kriegel 2018-06-14 11:42:20 -03:00 committed by Fridolin Somers
parent b77b44da60
commit 70f75b7e3c
4 changed files with 44 additions and 1 deletions

View File

@ -824,7 +824,7 @@
</Position>
<Position pos="20"><name>Format of music</name><description>One-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.</description>
<Value code="a"><description>Full score</description></Value>
<Value code="b"><description>Full score, miniature or study size</description></Value>
<Value code="b"><description>Miniature or study size</description></Value>
<Value code="c"><description>Accompaniment reduced for keyboard</description></Value>
<Value code="d"><description>Voice score with accompaniment omitted</description></Value>
<Value code="e"><description>Condensed score or piano-conductor score</description></Value>
@ -836,6 +836,7 @@
<Value code="l"><description>Score</description></Value>
<Value code="m"><description>Multiple score formats</description></Value>
<Value code="n"><description>Not applicable</description></Value>
<Value code="p"><description>Piano score</description></Value>
<Value code="u"><description>Unknown</description></Value>
<Value code="z"><description>Other</description></Value>
<Value code="|"><description>No attempt to code</description></Value>

View File

@ -57,6 +57,7 @@
<option value="a">a - AACR 2</option>
<option value="c">c - ISBD punctuation omitted</option>
<option value="i">i - ISBD punctuation included</option>
<option value="n">n - Non-ISBD punctuation omitted</option>
<option value="u">u - Unknown</option>
</select>
<select name="f19" title="Multipart record resource level">

View File

@ -806,6 +806,15 @@ function RedrawChoices(typ){
_("r- Remote") +
'</option> \
[% END %] \
[% IF ( f1s ) %] \
<option value="s" selected="selected">' +
_("s- Standalone device") +
'</option> \
[% ELSE %] \
<option value="s">' +
_("s- Standalone device") +
'</option> \
[% END %] \
[% IF ( f1u ) %] \
<option value="u" selected="selected">' +
_("u- Unspecified") +
@ -7546,6 +7555,15 @@ function RedrawChoices(typ){
_("q- Roll") +
'</option> \
[% END %] \
[% IF ( f1r ) %] \
<option value="r" selected="selected">' +
_("r- Remote") +
'</option> \
[% ELSE %] \
<option value="r">' +
_("r- Remote") +
'</option> \
[% END %] \
[% IF ( f1s ) %] \
<option value="s" selected="selected">' +
_("s- Sound cassette") +
@ -7726,6 +7744,15 @@ function RedrawChoices(typ){
_("m- 3/34 ips (tapes)") +
'</option> \
[% END %] \
[% IF ( f3n ) %] \
<option value="n" selected="selected">' +
_("n- Not applicable") +
'</option> \
[% ELSE %] \
<option value="n">' +
_("n- Not applicable") +
'</option> \
[% END %] \
[% IF ( f3o ) %] \
<option value="o" selected="selected">' +
_("o- 7 1/2 ips (tapes)") +
@ -8410,6 +8437,15 @@ function RedrawChoices(typ){
_("m- Plastic with metal") +
'</option> \
[% END %] \
[% IF ( f10n ) %] \
<option value="n" selected="selected">' +
_("n- Not applicable") +
'</option> \
[% ELSE %] \
<option value="n">' +
_("n- Not applicable") +
'</option> \
[% END %] \
[% IF ( f10p ) %] \
<option value="p" selected="selected">' +
_("p- Plastic") +

View File

@ -272,6 +272,11 @@
[% ELSE %]
<option value="i">i- ISBD punctuation included</option>
[% END %]
[% IF ( f18n ) %]
<option value="n" selected="selected">n- Non-ISBD punctuation omitted</option>
[% ELSE %]
<option value="n">n- Non-ISBD punctuation omitted</option>
[% END %]
[% IF ( f18u ) %]
<option value="u" selected="selected">u- Unknown</option>
[% ELSE %]