Bugzilla – Attachment 110059 Details for
Bug 19327
Typo in UNIMARC field 128a plugin
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19327: Typo in UNIMARC field 128a plugin
Bug-19327-Typo-in-UNIMARC-field-128a-plugin.patch (text/plain), 2.06 KB, created by
Owen Leonard
on 2020-09-14 14:09:00 UTC
(
hide
)
Description:
Bug 19327: Typo in UNIMARC field 128a plugin
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2020-09-14 14:09:00 UTC
Size:
2.06 KB
patch
obsolete
>From 2ca7d8964397f7f4994906fcadb9ca374d8707c5 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Mon, 14 Sep 2020 13:49:14 +0000 >Subject: [PATCH] Bug 19327: Typo in UNIMARC field 128a plugin > >This patch corrects some incorrect information in the UNIMARC plugin for >tag 128$a. The value for "partsong" should be "pt#" > >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_128a.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 128a builder" popup window. >- Select "partsong" in the dropdown. Save. >- In the MARC editor, the field you modified should contain the > value "pt#" >- Trigger the popup window again and click "Save" without making > changes. >- The value in the MARC editor should be the same. >--- > .../prog/en/modules/cataloguing/value_builder/unimarc_field_128a.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_128a.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_128a.tt >index 8930ad10aa..bd760f0e52 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_128a.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_128a.tt >@@ -258,7 +258,7 @@ > <option value="ps#">passacaglia</option> > [% END %] > [% IF ( f1pt ) %] >- <option value="p#" selected="selected">partsong</option> >+ <option value="pt#" selected="selected">partsong</option> > [% ELSE %] > <option value="pt#">partsong</option> > [% END %] >-- >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 19327
:
110059
|
110233
|
110289