From 4f51ccca3254cc9ed6c2a8cea0e8bd85756f8f80 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 29 Oct 2024 14:03:25 +0100 Subject: [PATCH] Bug 31224: (follow-up) Update instances of metadata->record Signed-off-by: Jonathan Druart --- misc/migration_tools/bulkmarcimport.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/migration_tools/bulkmarcimport.pl b/misc/migration_tools/bulkmarcimport.pl index efcac9589f4..b2c520ae400 100755 --- a/misc/migration_tools/bulkmarcimport.pl +++ b/misc/migration_tools/bulkmarcimport.pl @@ -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; -- 2.34.1