From 49c147f60941a752894894887dd42db7ff4f63d1 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 14 Sep 2020 13:33:01 +0000 Subject: [PATCH] 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 --- .../prog/en/modules/cataloguing/value_builder/unimarc_field_140.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_140.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_140.tt index 33df179167..5ac1351efd 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_140.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_140.tt @@ -1504,9 +1504,9 @@ [% END %] [% IF ( f14li ) %] - + [% ELSE %] - + [% END %] [% IF ( f14ma ) %] -- 2.11.0