Bugzilla – Attachment 12083 Details for
Bug 8523
Authority hierarchies only support UNIMARC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 8523 follow-up: support NORMARC, too
Bug-8523-follow-up-support-NORMARC-too.patch (text/plain), 1.26 KB, created by
Jared Camins-Esakov
on 2012-09-09 16:19:14 UTC
(
hide
)
Description:
Bug 8523 follow-up: support NORMARC, too
Filename:
MIME Type:
Creator:
Jared Camins-Esakov
Created:
2012-09-09 16:19:14 UTC
Size:
1.26 KB
patch
obsolete
>From f98318c1641b394e85f11a191bfab3ddd637bac3 Mon Sep 17 00:00:00 2001 >From: Jared Camins-Esakov <jcamins@cpbibliography.com> >Date: Sun, 9 Sep 2012 12:24:50 -0400 >Subject: [PATCH] Bug 8523 follow-up: support NORMARC, too >Content-Type: text/plain; charset="UTF-8" > >Thanks to Katrin for pointing out that the original patch left NORMARC >a second-class citizen. >--- > C4/AuthoritiesMarc.pm | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/C4/AuthoritiesMarc.pm b/C4/AuthoritiesMarc.pm >index 1eea4cf..d82a13b 100644 >--- a/C4/AuthoritiesMarc.pm >+++ b/C4/AuthoritiesMarc.pm >@@ -1175,7 +1175,7 @@ sub BuildAuthHierarchies{ > my $broader = 0; > $broader = 1 if ( > (C4::Context->preference('marcflavour') eq 'UNIMARC' && $field->subfield('5') && $field->subfield('5') eq 'g') || >- (C4::Context->preference('marcflavour') eq 'MARC21' && $field->subfield('w') && substr($field->subfield('w'), 0, 1) eq 'g')); >+ (C4::Context->preference('marcflavour') ne 'UNIMARC' && $field->subfield('w') && substr($field->subfield('w'), 0, 1) eq 'g')); > if ($broader) { > my $subfauthid=_get_authid_subfield($field) || ''; > next if ($subfauthid eq $authid); >-- >1.7.2.5
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 8523
:
11360
|
11885
|
12083
|
12084
|
12086
|
12089
|
12092
|
12097
|
12100
|
12101
|
12125
|
12565