Bugzilla – Attachment 54860 Details for
Bug 10455
remove redundant 'biblioitems.marc' field
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 10455: (follow-up 3) Remove biblioitems.marc
Bug-10455-follow-up-3-Remove-biblioitemsmarc.patch (text/plain), 1.37 KB, created by
Jonathan Druart
on 2016-08-25 12:48:17 UTC
(
hide
)
Description:
Bug 10455: (follow-up 3) Remove biblioitems.marc
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-08-25 12:48:17 UTC
Size:
1.37 KB
patch
obsolete
>From 3ca0b3e30641d272c7e3854852700f146b2b4c0f Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 25 Aug 2016 13:43:44 +0100 >Subject: [PATCH] Bug 10455: (follow-up 3) Remove biblioitems.marc > >--- > Koha/BiblioUtils/Iterator.pm | 9 +++------ > 1 file changed, 3 insertions(+), 6 deletions(-) > >diff --git a/Koha/BiblioUtils/Iterator.pm b/Koha/BiblioUtils/Iterator.pm >index bc00036..ecc3727 100644 >--- a/Koha/BiblioUtils/Iterator.pm >+++ b/Koha/BiblioUtils/Iterator.pm >@@ -27,7 +27,7 @@ Koha::BiblioUtils::Iterator - iterates over biblios provided by a DBIx::Class::R > > This provides an iterator that gives the MARC::Record of each biblio that's > returned by a L<DBIx::Class::ResultSet> that provides a C<biblionumber>, and >-C<marc> or C<marcxml> column from the biblioitems table. >+C<marcxml> column from the biblioitems table. > > =head1 SYNOPSIS > >@@ -92,14 +92,11 @@ sub next { > my $marc; > my $row = $self->{rs}->next(); > return if !$row; >- if ( $row->marc ) { >- $marc = MARC::Record->new_from_usmarc( $row->marc ); >- } >- elsif ( $row->marcxml ) { >+ if ( $row->marcxml ) { > $marc = MARC::Record->new_from_xml( $row->marcxml ); > } > else { >- confess "No marc or marcxml column returned in the request."; >+ confess "No marcxml column returned in the request."; > } > > my $bibnum; >-- >2.8.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 10455
:
54844
|
54845
|
54846
|
54847
|
54849
|
54850
|
54855
|
54856
|
54857
|
54858
|
54859
|
54860
|
54875
|
54881
|
55401
|
55402
|
55403
|
55404
|
55405
|
55406
|
55407
|
55408
|
55409
|
55410
|
55844
|
55845
|
55846
|
55847
|
55848
|
55849
|
55850
|
55851
|
55852
|
55853