From bcc2823c4e70657736f0712dc58a326ddd3718e9 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 This change adds the missing interface parameter which Bug 38233 initially added. --- 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 4aa7a3d932..277cb65678 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