Bug 31889: Replace append_fields in _embed_items
Test plan: Run t/db_dependent/Koha/Biblio/Metadata.t again. Should pass. Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
2766dd82e7
commit
cbc2217e2c
|
|
@ -172,7 +172,7 @@ sub _embed_items {
|
|||
my $item_marc = C4::Items::GetMarcItem( $biblionumber, $itemnumber );
|
||||
push @item_fields, $item_marc->field($itemtag);
|
||||
}
|
||||
$record->append_fields(@item_fields);
|
||||
$record->insert_fields_ordered(@item_fields);
|
||||
|
||||
}
|
||||
else {
|
||||
|
|
|
|||
Loading…
Reference in New Issue