Bug 19313: Fix typo in in unimarc_field_130.pl value builder

This patch fixes a simple typo

Test plan:
1) Go to Administration -> MARC bibliographic framework
2) Select a framework and add plugin unimarc_field_130.pl to 130 field
3) Open cataloguing screen
4) Go to 130 field and check if for subfield a shows value for
   'unknown' select it and close the window, check on value on 130$a at
   position 8 to have the value 'd'.
5) Repeat step 4 and select the value 'mixed emulsion' close the plugin
   window and check at position 8 to have the value 'u'
6) Apply the patch
7) Go to field 130, open the plugin window and select value 'unknown'
   close the window and check at position 8 to have the value 'u'
8) Go to field 130, open the plugin window and select value 'mixed
   emulsion', close the window and check at position 8 to have the
   value 'v'

https://www.ifla.org/files/assets/uca/unimarc_updates/BIBLIOGRAPHIC/b_130_update2017.pdf

Mentored-by: Andreas Roussos
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
George Veranis 2020-04-22 13:53:56 +02:00 committed by Martin Renvoize
parent 5cb03c3960
commit 78badbdad7
Signed by: martin.renvoize
GPG key ID: 422B469130441A0F

View file

@ -245,15 +245,15 @@ value="[% f5 | html %]" /></td>
[% ELSE %] [% ELSE %]
<option value="c">vesicular</option> <option value="c">vesicular</option>
[% END %] [% END %]
[% IF ( f7d ) %]
<option value="d" selected="selected">unknown</option>
[% ELSE %]
<option value="d">unknown</option>
[% END %]
[% IF ( f7u ) %] [% IF ( f7u ) %]
<option value="u" selected="selected">mixed emulsion</option> <option value="u" selected="selected">unknown</option>
[% ELSE %] [% ELSE %]
<option value="u">mixed emulsion</option> <option value="u">unknown</option>
[% END %]
[% IF ( f7v ) %]
<option value="v" selected="selected">mixed emulsion</option>
[% ELSE %]
<option value="v">mixed emulsion</option>
[% END %] [% END %]
[% IF ( f7x ) %] [% IF ( f7x ) %]
<option value="x" selected="selected">not applicable</option> <option value="x" selected="selected">not applicable</option>