From e3bf7a66228dddf5adf0d2ea63c5f82b6543bcd4 Mon Sep 17 00:00:00 2001 From: Zeno Tajoli Date: Wed, 2 Mar 2016 13:01:22 +0100 Subject: [PATCH] Bug 15955: Tuning function 'New child record' for Unimarc 205$a -> 461$e MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Now the sYstem tries to insert value of 205$a into 461$a when a child is created from the father record. In UNIMARC 46x tags there is not present a subfield for ediction value (205$a in UNIMARC). To Test: 1) Check to have EasyAnalyticalRecords on 'off' 2) Check to use UNIMARC 3) Create a record with data in 200$a (title), 205$a (ediction), 700 (author) 215$a(Place), 215$d(date) 4) From those record create a child using 'New'->'New child record' 5) See the values in 461 tag: You can see that in 461$a there is the value of 205$a from father This is wrong, you need to have the value of 700 $a and $b from father record, and 205$a in 461$e. 6) Appy the patch 7) Redo 4-5 8) Now 461 is good Signed-off-by: Frédéric Demians Signed-off-by: Jonathan Druart I have not checked the doc but trusting author and signoffer. --- C4/Biblio.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Biblio.pm b/C4/Biblio.pm index 7f2fbfd..fa1bb4c 100644 --- a/C4/Biblio.pm +++ b/C4/Biblio.pm @@ -3685,7 +3685,7 @@ sub prepare_host_field { if ( $field = $host->field('205') ) { my $s = $field->as_string(); if ($s) { - $sfd{a} = $s; + $sfd{e} = $s; } } #URL -- 2.7.0