https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27684 --- Comment #8 from Didier Gautheron <didier.gautheron@biblibre.com> --- (In reply to Jonathan Druart from comment #6)
You need a test and certainly to modify this other place:
Koha/UI/Form/Builder/Item.pm 122 $value = $subfield->{defaultvalue};
No, in my understanding it's already done there : if ( $prefill_with_default_values && ( !defined($value) || $value eq '' ) ) { $value = $subfield->{defaultvalue} if !$item->{itemnumber}; # apply defaultvalue only to new items it's only set $value if it's undefined or an empty string. Unlike 0 empty string for a VA code is an issue in a lot of place. -- You are receiving this mail because: You are watching all bug changes.