Lines 127-136
sub _get_biblio_for_export {
Link Here
|
127 |
return if $@ or not defined $record; |
127 |
return if $@ or not defined $record; |
128 |
|
128 |
|
129 |
if ($export_items) { |
129 |
if ($export_items) { |
130 |
C4::Biblio::EmbedItemsInMarcBiblio({ |
130 |
Koha::Biblio::Metadata->record( |
131 |
marc_record => $record, |
131 |
{ |
132 |
biblionumber => $biblionumber, |
132 |
record => $record, |
133 |
item_numbers => $itemnumbers }); |
133 |
embed_items => 1, |
|
|
134 |
biblionumber => $biblionumber, |
135 |
item_numbers => $itemnumbers, |
136 |
} |
137 |
); |
134 |
if ($only_export_items_for_branches && @$only_export_items_for_branches) { |
138 |
if ($only_export_items_for_branches && @$only_export_items_for_branches) { |
135 |
my %export_items_for_branches = map { $_ => 1 } @$only_export_items_for_branches; |
139 |
my %export_items_for_branches = map { $_ => 1 } @$only_export_items_for_branches; |
136 |
my ( $homebranchfield, $homebranchsubfield ) = GetMarcFromKohaField( 'items.homebranch' ); |
140 |
my ( $homebranchfield, $homebranchsubfield ) = GetMarcFromKohaField( 'items.homebranch' ); |
137 |
- |
|
|