Bug 31224: (follow-up) Update instances of metadata->record

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Jonathan Druart 2024-10-29 14:03:25 +01:00 committed by Katrin Fischer
parent 3e71252224
commit 6c48b39b17
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
1 changed files with 1 additions and 1 deletions

View File

@ -686,7 +686,7 @@ RECORD: foreach my $record ( @{$marc_records} ) {
}
my $biblio = Koha::Biblios->find($record_id);
$record = $biblio->metadata->record( { embed_items => 1 } );
$record = $biblio->metadata_record( { embed_items => 1 } );
push @search_engine_record_ids, $record_id;
push @search_engine_records, $record;