@@ -, +, @@ --- C4/Record.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/C4/Record.pm +++ a/C4/Record.pm @@ -462,10 +462,10 @@ sub marcrecord2csv { my $biblio = Koha::Biblios->find($biblionumber); return unless $biblio; my $record = eval { - $biblio->metadata->record( - { embed_items => 1, itemnumbers => $itemnumbers } ); + $biblio->metadata_record({ embed_items => 1, itemnumbers => $itemnumbers } ); }; return unless $record; + # Getting the framework my $frameworkcode = $biblio->frameworkcode; --