Bug 40711 - Fix valuebuilder for 181 in UNIMARC
Summary: Fix valuebuilder for 181 in UNIMARC
Status: Needs Signoff
Alias: None
Product: Koha
Classification: Unclassified
Component: Cataloging (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-08-27 09:58 UTC by Baptiste Wojtkowski (bwoj)
Modified: 2025-08-27 12:05 UTC (History)
1 user (show)

See Also:
GIT URL:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments
Bug 40711: Fix valuebuilder for UNIMARC 181c (3.07 KB, patch)
2025-08-27 12:02 UTC, Baptiste Wojtkowski (bwoj)
Details | Diff | Splinter Review
Bug 40711: Fix valuebuilder for UNIMARC 181c and 2 (3.07 KB, patch)
2025-08-27 12:05 UTC, Baptiste Wojtkowski (bwoj)
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Baptiste Wojtkowski (bwoj) 2025-08-27 09:58:28 UTC
There are some little issues with valuebuilder that need a fix
Comment 1 Baptiste Wojtkowski (bwoj) 2025-08-27 12:02:57 UTC
Created attachment 185812 [details] [review]
Bug 40711: Fix valuebuilder for UNIMARC 181c

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.
Comment 2 Baptiste Wojtkowski (bwoj) 2025-08-27 12:05:55 UTC
Created attachment 185813 [details] [review]
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.