Bugzilla – Attachment 48693 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]
Followup of the patch
0002-BUG-15955-Follow-up-Tuning-function-New-child-record.patch (text/plain), 992 bytes, created by
Zeno Tajoli
on 2016-03-04 15:28:56 UTC
(
hide
)
Description:
Followup of the patch
Filename:
MIME Type:
Creator:
Zeno Tajoli
Created:
2016-03-04 15:28:56 UTC
Size:
992 bytes
patch
obsolete
>From 331d60d38647e2221c448b0838be7e343a4a9e1a Mon Sep 17 00:00:00 2001 >From: Zeno Tajoli <z.tajoli@cineca.it> >Date: Thu, 3 Mar 2016 10:12:25 +0100 >Subject: [PATCH 2/2] [BUG 15955] Follow-up: Tuning function 'New child record' > for Unimarc > >With this follow-up, instead of delete data from 205$a, it is inserted >into 461$e > >So function is more similar to MARC21 one >--- > C4/Biblio.pm | 8 ++++++-- > 1 file changed, 6 insertions(+), 2 deletions(-) > >diff --git a/C4/Biblio.pm b/C4/Biblio.pm >index 7b5afb2..0e59439 100644 >--- a/C4/Biblio.pm >+++ b/C4/Biblio.pm >@@ -3668,8 +3668,12 @@ sub prepare_host_field { > } > } > #edition statement >- #Not present in UNIMARC 4xx structure >- >+ if ( $field = $host->field('205') ) { >+ my $s = $field->as_string(); >+ if ($s) { >+ $sfd{e} = $s; >+ } >+ } > #URL > if ( $field = $host->field('856') ) { > my $s = $field->as_string('u'); >-- >2.1.4 >
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