From f392d68adbcc98c3b9aad366b1fe8197a51baff0 Mon Sep 17 00:00:00 2001 From: David Cook Date: Fri, 8 Aug 2025 07:05:19 +0000 Subject: [PATCH] Bug 40622: Add missing interface parameter Content-Type: text/plain; charset=utf-8 This change adds the missing interface parameter which Bug 38233 initially added. Signed-off-by: David Nind Signed-off-by: Marcel de Rooy --- C4/ILSDI/Services.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/ILSDI/Services.pm b/C4/ILSDI/Services.pm index 112c5715f5..597a9ddd1d 100644 --- a/C4/ILSDI/Services.pm +++ b/C4/ILSDI/Services.pm @@ -227,7 +227,7 @@ sub GetRecords { my $biblioitem = $biblio->biblioitem->unblessed; - my $record = $biblio->metadata_record( { embed_items => 1 } ); + my $record = $biblio->metadata_record( { embed_items => 1, interface => 'opac' } ); if ($record) { $biblioitem->{marcxml} = $record->as_xml_record( C4::Context->preference('marcflavour') ); } -- 2.39.5