|
Lines 123-129
records instead of all.
Link Here
|
| 123 |
=cut |
123 |
=cut |
| 124 |
|
124 |
|
| 125 |
sub get_all_biblios_iterator { |
125 |
sub get_all_biblios_iterator { |
| 126 |
my ($self, %options) = @_; |
126 |
my ($class, %options) = @_; |
| 127 |
|
127 |
|
| 128 |
my $search_terms = {}; |
128 |
my $search_terms = {}; |
| 129 |
my ($slice_modulo, $slice_count); |
129 |
my ($slice_modulo, $slice_count); |
|
Lines 153-159
sub get_all_biblios_iterator {
Link Here
|
| 153 |
biblionumber => $row->biblionumber, |
153 |
biblionumber => $row->biblionumber, |
| 154 |
embed_items => 1 }); |
154 |
embed_items => 1 }); |
| 155 |
my $next = eval { |
155 |
my $next = eval { |
| 156 |
__PACKAGE__->new($marc, $row->biblionumber); |
156 |
$class->new($marc, $row->biblionumber); |
| 157 |
}; |
157 |
}; |
| 158 |
if ($@) { |
158 |
if ($@) { |
| 159 |
warn "Something went wrong reading record for biblio $row->biblionumber: $@\n"; |
159 |
warn "Something went wrong reading record for biblio $row->biblionumber: $@\n"; |
| 160 |
- |
|
|