From be001f41f0ff82b952d5c152ea0fa9bc2e8bb840 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. --- 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.11.0