From 7ce6121aef7e398f919907c92cbf4846c3ad29c0 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 25 Aug 2016 13:43:44 +0100 Subject: [PATCH] Bug 10455: (follow-up 2) Remove biblioitems.marc --- Koha/BiblioUtils/Iterator.pm | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Koha/BiblioUtils/Iterator.pm b/Koha/BiblioUtils/Iterator.pm index bc00036..25b628e 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 that provides a C, and -C or C column from the biblioitems table. +C column from the biblioitems table. =head1 SYNOPSIS @@ -92,9 +92,6 @@ 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 ) { $marc = MARC::Record->new_from_xml( $row->marcxml ); } -- 2.8.1