From 78badbdad7be1531c4be2f72c9dd67f2b6236e13 Mon Sep 17 00:00:00 2001 From: George Veranis Date: Wed, 22 Apr 2020 13:53:56 +0200 Subject: [PATCH] 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 Signed-off-by: Martin Renvoize --- .../cataloguing/value_builder/unimarc_field_130.tt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_130.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_130.tt index 138435d2bb..bf0c183d3d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_130.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_130.tt @@ -245,15 +245,15 @@ value="[% f5 | html %]" /> [% ELSE %] [% END %] - [% IF ( f7d ) %] - + [% IF ( f7u ) %] + [% ELSE %] - + [% END %] - [% IF ( f7u ) %] - + [% IF ( f7v ) %] + [% ELSE %] - + [% END %] [% IF ( f7x ) %] -- 2.39.5