From 6c48b39b172b0ec2ee8e2a1ac04fc9687ff58f59 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 Signed-off-by: Katrin Fischer --- 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 efcac9589f..b2c520ae40 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.39.5