Bugzilla – Attachment 15723 Details for
Bug 5333
Undefined value stops import from z39.50
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 5333 - z3950 normalization should apply only on UNIMARC
Bug-5333---z3950-normalization-should-apply-only-o.patch (text/plain), 1.16 KB, created by
Tomás Cohen Arazi (tcohen)
on 2013-02-27 13:49:47 UTC
(
hide
)
Description:
Bug 5333 - z3950 normalization should apply only on UNIMARC
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2013-02-27 13:49:47 UTC
Size:
1.16 KB
patch
obsolete
>From 34193c528ef9dfb22fc9be7cfc60d386d68f9922 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@gmail.com> >Date: Wed, 27 Feb 2013 10:47:13 -0300 >Subject: [PATCH] Bug 5333 - z3950 normalization should apply only on UNIMARC > >It's been a while since this bug is around. This normalization is only >used for UNIMARC and yields a fatal error when those variables are set >on (at least) MARC21 setups. > >Regards >To+ >--- > cataloguing/addbiblio.pl | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/cataloguing/addbiblio.pl b/cataloguing/addbiblio.pl >index 51b3c7a..89620ac 100755 >--- a/cataloguing/addbiblio.pl >+++ b/cataloguing/addbiblio.pl >@@ -96,7 +96,8 @@ sub MARCfindbreeding { > else { > # normalize author : probably UNIMARC specific... > if ( C4::Context->preference("z3950NormalizeAuthor") >- and C4::Context->preference("z3950AuthorAuthFields") ) >+ and C4::Context->preference("z3950AuthorAuthFields") >+ and C4::Context->preference("marcflavour") eq 'UNIMARC' ) > { > my ( $tag, $subfield ) = GetMarcFromKohaField("biblio.author", ''); > >-- >1.7.10.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 5333
:
15723
|
15734
|
15755