From 0b821a19e2ddca54fdf02350ded65cca74a55dfd Mon Sep 17 00:00:00 2001 From: Baptiste Wojtkowski Date: Wed, 27 Aug 2025 11:40:40 +0000 Subject: [PATCH] Bug 40711: Fix valuebuilder for UNIMARC 181c and 2 Test plan (UNIMARC ONLY): 1 - Make sure you have valuebuilder enabled for 181$c and 181$2 (see hereafter) 2 - Edit any record. Use valuebuilder to set 181$c to "cri - cartographic image", notice there is no change 3 - Use valuebuilder to set 181$c to "crm - cartographic moving image", notice it is set to "a" 4 - Open the valuebuilder for 181$2 and inspect the body ID. See it is cat_unimarc_field_182-2. 5 - Apply patch 6 - Repeat 2&3 and notice the codes are now cri respectively cri and crm 7 - Open the valuebuilder for 181$2 and inspect the body ID. See it is cat_unimarc_field_181-2. --- .../cataloguing/value_builder/unimarc_field_181-2.tt | 2 +- .../modules/cataloguing/value_builder/unimarc_field_181c.tt | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_181-2.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_181-2.tt index 5ff336aaa56..dc7f212a95f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_181-2.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_181-2.tt @@ -10,7 +10,7 @@ [% INCLUDE 'doc-head-close.inc' %] - +

UNIMARC field 181-2 builder

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_181c.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_181c.tt index 562e54d311a..007ddfdd51e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_181c.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_181c.tt @@ -22,15 +22,15 @@