@@ -, +, @@ subfields Edit an item. Insert A|B in this field and another not-repeatable field. Save and reopen. Verify that the repeatable field is duplicated and the other one contains the pipe character in the text box. Go to the cataloguing editor and add A|B in this field. --- C4/Biblio.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) --- a/C4/Biblio.pm +++ a/C4/Biblio.pm @@ -1997,7 +1997,10 @@ sub TransformKohaToMarc { my $tagfield = $fld->{tagfield}; my $tagsubfield = $fld->{tagsubfield}; next if !$tagfield; - my @values = $params->{no_split} + + # BZ 21800: split value if field is repeatable; NOTE that this also + # depends on the Default framework. + my @values = $params->{no_split} || !$fld->{repeatable} ? ( $value ) : split(/\s?\|\s?/, $value, -1); foreach my $value ( @values ) { --