Bugzilla – Attachment 110057 Details for
Bug 19322
Typo in UNIMARC field 140 plugin
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19322: Typo in UNIMARC field 140 plugin
Bug-19322-Typo-in-UNIMARC-field-140-plugin.patch (text/plain), 2.13 KB, created by
Owen Leonard
on 2020-09-14 13:44:11 UTC
(
hide
)
Description:
Bug 19322: Typo in UNIMARC field 140 plugin
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2020-09-14 13:44:11 UTC
Size:
2.13 KB
patch
obsolete
>From 7a9aef593bd79c3a50e95ea13429c50282b33681 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >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. >--- > .../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 @@ > <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> >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 19322
:
110057
|
110232
|
110290