Bug 19322: Typo in UNIMARC field 140 plugin

This patch corrects some incorrect information in the UNIMARC plugin for
tag 140. Literature code "li" should be "mystic literature."

To test you do not need a UNIMARC installation. Apply the patch and go
to Administration -> MARC frameworks and Actions -> MARC structure for
one of your frameworks.

- Edit subfields for a tag, e.g. 245. This is only for testing purposes
  so it doesn't have to be any particular tag.
- Change the options for one of the subfields, e.g. $a. Under "Other
  options (choose one), set "Plugin" to "unimarc_field_140.pl"
- Save changes.
- Open a bibliographic record for editing using the framework you
  modified.
- Click the plugin link next to the subfield you modified, e.c. 245$a.
- This should trigger the "UNIMARC field 140 builder" popup window.
- Find "Literature" and select "Mystic literature." Save.
- In the MARC editor, the field you modified should contain the value
  "li" at position 17-18.

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit c72f01d907)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Owen Leonard 2020-09-14 13:33:01 +00:00 committed by Lucas Gass
parent 9f2dc59494
commit 3d70a7f4e4
1 changed files with 2 additions and 2 deletions

View File

@ -1504,9 +1504,9 @@
<option value="lh">erotica</option>
[% END %]
[% IF ( f14li ) %]
<option value="li" selected="selected">erotica</option>
<option value="li" selected="selected">mystic literature</option>
[% ELSE %]
<option value="li">erotica</option>
<option value="li">mystic literature</option>
[% END %]
[% IF ( f14ma ) %]
<option value="ma" selected="selected">oratory, speeches</option>