Bugzilla – Attachment 8864 Details for
Bug 7284
Authority matching algorithm improvements
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
bug 7284: fix package build problem, move BEGIN into new
bug-7284-fix-package-build-problem-move-BEGIN-into.patch (text/plain), 1.41 KB, created by
Jared Camins-Esakov
on 2012-04-04 11:48:36 UTC
(
hide
)
Description:
bug 7284: fix package build problem, move BEGIN into new
Filename:
MIME Type:
Creator:
Jared Camins-Esakov
Created:
2012-04-04 11:48:36 UTC
Size:
1.41 KB
patch
obsolete
>From 104b033c1b39ab3f330b76fc274e972a7655cabc Mon Sep 17 00:00:00 2001 >From: MJ Ray <mjr@phonecoop.coop> >Date: Thu, 29 Mar 2012 18:35:04 +0100 >Subject: [PATCH] bug 7284: fix package build problem, move BEGIN into new >Content-Type: text/plain; charset="UTF-8" > >Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com> >--- > C4/Heading/UNIMARC.pm | 23 +++++++++++------------ > t/{ => db_dependent}/Heading_MARC21.t | 0 > 2 files changed, 11 insertions(+), 12 deletions(-) > rename t/{ => db_dependent}/Heading_MARC21.t (100%) > >diff --git a/C4/Heading/UNIMARC.pm b/C4/Heading/UNIMARC.pm >index 78536b8..7925345 100644 >--- a/C4/Heading/UNIMARC.pm >+++ b/C4/Heading/UNIMARC.pm >@@ -59,7 +59,17 @@ my %subdivisions = ( > > my $bib_heading_fields; > >-BEGIN { >+=head1 METHODS >+ >+=head2 new >+ >+ my $marc_handler = C4::Heading::UNIMARC->new(); >+ >+=cut >+ >+sub new { >+ my $class = shift; >+ > my $dbh = C4::Context->dbh; > my $sth = $dbh->prepare( > "SELECT tagfield, authtypecode >@@ -74,18 +84,7 @@ BEGIN { > subfields => 'abcdefghjklmnopqrstvxyz', > }; > } >-} >- >-=head1 METHODS > >-=head2 new >- >- my $marc_handler = C4::Heading::UNIMARC->new(); >- >-=cut >- >-sub new { >- my $class = shift; > return bless {}, $class; > } > >diff --git a/t/Heading_MARC21.t b/t/db_dependent/Heading_MARC21.t >similarity index 100% >rename from t/Heading_MARC21.t >rename to t/db_dependent/Heading_MARC21.t >-- >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 7284
:
7083
|
7084
|
7085
|
7086
|
7087
|
7091
|
7266
|
7323
|
7457
|
7548
|
7688
|
7714
|
7788
|
7829
|
7938
|
8060
|
8066
|
8137
|
8862
| 8864