Bugzilla – Attachment 82577 Details for
Bug 21826
Automatic authority record generation improvements
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21826: (QA follow-up) Add UNIMARC support
Bug-21826-QA-follow-up-Add-UNIMARC-support.patch (text/plain), 987 bytes, created by
Ere Maijala
on 2018-11-22 09:27:31 UTC
(
hide
)
Description:
Bug 21826: (QA follow-up) Add UNIMARC support
Filename:
MIME Type:
Creator:
Ere Maijala
Created:
2018-11-22 09:27:31 UTC
Size:
987 bytes
patch
obsolete
>From 14827ba37630989ca9df39c6513df510c618bbb5 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Tue, 13 Nov 2018 16:02:40 +0000 >Subject: [PATCH] Bug 21826: (QA follow-up) Add UNIMARC support > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > C4/Heading/UNIMARC.pm | 15 +++++++++++++++ > 1 file changed, 15 insertions(+) > >diff --git a/C4/Heading/UNIMARC.pm b/C4/Heading/UNIMARC.pm >index fa4eb58..81dafae 100644 >--- a/C4/Heading/UNIMARC.pm >+++ b/C4/Heading/UNIMARC.pm >@@ -96,6 +96,21 @@ sub valid_bib_heading_tag { > return $bib_heading_fields->{$tag}; > } > >+=head2 valid_bib_heading_subfield >+ >+=cut >+ >+sub valid_bib_heading_subfield { >+ my $self = shift; >+ my $tag = shift; >+ my $subfield = shift; >+ >+ if ( exists $bib_heading_fields->{$tag} ) { >+ return 1 if ($bib_heading_fields->{$tag}->{subfields} =~ /$subfield/); >+ } >+ return 0; >+} >+ > =head2 parse_heading > > =cut >-- >2.7.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 21826
:
82310
|
82311
|
82479
|
82480
|
82481
|
82514
|
82515
|
82516
|
82517
|
82535
|
82536
|
82537
|
82576
|
82577
|
82578
|
82579
|
82580
|
82634
|
82635
|
82636
|
82637
|
82638
|
82961
|
82962
|
82963
|
82964
|
82965