@@ -, +, @@ get_all_biblios_iterator --- Koha/BiblioUtils.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/Koha/BiblioUtils.pm +++ a/Koha/BiblioUtils.pm @@ -123,7 +123,7 @@ records instead of all. =cut sub get_all_biblios_iterator { - my ($self, %options) = @_; + my ($class, %options) = @_; my $search_terms = {}; my ($slice_modulo, $slice_count); @@ -153,7 +153,7 @@ sub get_all_biblios_iterator { biblionumber => $row->biblionumber, embed_items => 1 }); my $next = eval { - __PACKAGE__->new($marc, $row->biblionumber); + $class->new($marc, $row->biblionumber); }; if ($@) { warn "Something went wrong reading record for biblio $row->biblionumber: $@\n"; --