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>
(cherry picked from commit e5a302d968)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
This commit is contained in:
parent
f3538049b5
commit
1e35ae3e20
|
|
@ -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