Bugzilla – Attachment 82991 Details for
Bug 21831
Marc modification templates move all action moves only one field
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21831: Allow move all fields even if destination field is different
Bug-21831-Allow-move-all-fields-even-if-destinatio.patch (text/plain), 1.09 KB, created by
Jonathan Druart
on 2018-12-07 17:45:03 UTC
(
hide
)
Description:
Bug 21831: Allow move all fields even if destination field is different
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2018-12-07 17:45:03 UTC
Size:
1.09 KB
patch
obsolete
>From be001f41f0ff82b952d5c152ea0fa9bc2e8bb840 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 21831
:
82991
|
89926
|
89965