record => $record,
embed_items => 1,
biblionumber => $biblionumber,
item_numbers => $itemnumbers,
itemnumbers => $itemnumbers,
}
);
if ($only_export_items_for_branches && @$only_export_items_for_branches) {
-