@@ -, +, @@ - edit an item, set a status that is controlled by an authorized value - check the status saved correctly - edit the item again, reset the status to empty - check the status saved correctly --- C4/Items.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/C4/Items.pm +++ a/C4/Items.pm @@ -482,7 +482,7 @@ sub _build_default_values_for_mod_marc { withdrawn => 0, }; while ( my ( $field, $default_value ) = each %$default_values ) { - $field =~ s|[^\.]*\.?(.*)|items.$1|; + $field =~ s|^([^\.]+)$|items.$1|; $default_values_for_mod_from_marc{$frameworkcode}{$field} = $default_value if C4::Koha::IsKohaFieldLinked( --