Bugzilla – Attachment 48700 Details for
Bug 15955
Tuning function 'New child record' for Unimarc
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Tuning function 'New child record' for Unimarc 205$a -> 461$e
Tuning-function-New-child-record-for-Unimarc-205a-.patch (text/plain), 1.55 KB, created by
Frédéric Demians
on 2016-03-04 17:05:19 UTC
(
hide
)
Description:
Tuning function 'New child record' for Unimarc 205$a -> 461$e
Filename:
MIME Type:
Creator:
Frédéric Demians
Created:
2016-03-04 17:05:19 UTC
Size:
1.55 KB
patch
obsolete
>From b4b1cc5f09253f933589a904a36832eadd303efe Mon Sep 17 00:00:00 2001 >From: Zeno Tajoli <z.tajoli@cineca.it> >Date: Wed, 2 Mar 2016 13:01:22 +0100 >Subject: [PATCH] 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 <f.demians@tamil.fr> > >https://bugs.koha-community.org/show_bug.cgi?id=15955 >--- > C4/Biblio.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/Biblio.pm b/C4/Biblio.pm >index a2b1d0a..b25e91d 100644 >--- a/C4/Biblio.pm >+++ b/C4/Biblio.pm >@@ -3672,7 +3672,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.1
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 15955
:
48543
|
48692
|
48693
|
48700
|
48997