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 commite5a302d968) Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de> (cherry picked from commit1e35ae3e20) Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
3eed9284d6
commit
51d4529b63
|
|
@ -218,7 +218,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