Bug 40622: Add missing interface parameter
This change adds the missing interface parameter which Bug 38233 initially added. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
d6b95024bc
commit
e5a302d968
|
|
@ -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') );
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue