Bugzilla – Attachment 82307 Details for
Bug 19365
link_bibs_to_authorities.pl doesn't work with Elasticsearch
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19365: (QA follow-up) Add UNIMARC support
Bug-19365-QA-follow-up-Add-UNIMARC-support.patch (text/plain), 994 bytes, created by
Martin Renvoize (ashimema)
on 2018-11-13 16:04:32 UTC
(
hide
)
Description:
Bug 19365: (QA follow-up) Add UNIMARC support
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2018-11-13 16:04:32 UTC
Size:
994 bytes
patch
obsolete
>From ec6ca0693f94b4daf36172bbc7c183a3c0f80a85 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 19365: (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 fa4eb58fc0..81dafaef83 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.19.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 19365
:
71109
|
71114
|
73382
|
78732
|
78737
|
78875
|
79005
|
79006
|
79007
|
82282
|
82283
|
82284
|
82303
|
82304
|
82305
|
82307
|
82312
|
82313
|
82314
|
82325
|
82326
|
82327
|
82328
|
82406
|
82407
|
82408
|
82409
|
82410
|
82411
|
82412
|
82413
|
82414
|
82530
|
82531
|
82532
|
82533
|
82534