From 189bde4a1d043a25a0eddcc07401b7946653c3b1 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 7 Dec 2018 14:43:18 -0300 Subject: [PATCH] Bug 21831: Allow move all fields even if destination field is different Tests exist in t/SimpleMARC.t to prove that it works and it is possible. I do not remember what I wrote this limitation. Signed-off-by: Jon Knight Signed-off-by: Marcel de Rooy Signed-off-by: Nick Clemens --- C4/MarcModificationTemplates.pm | 3 --- 1 file changed, 3 deletions(-) diff --git a/C4/MarcModificationTemplates.pm b/C4/MarcModificationTemplates.pm index da8f0a46b7..54846e5956 100644 --- a/C4/MarcModificationTemplates.pm +++ b/C4/MarcModificationTemplates.pm @@ -608,9 +608,6 @@ sub ModifyRecordWithTemplate { if ( $field_number == 1 ) { # We want to process the first field $field_numbers = [ 1 ]; - } elsif ( $to_field and $from_field ne $to_field ) { - # If the from and to fields are not the same, we only process the first field. - $field_numbers = [ 1 ]; } } -- 2.39.5