View | Details | Raw Unified | Return to bug 32631
Collapse All | Expand All

(-)a/svc/records/preview (-2 / +1 lines)
Lines 36-42 my $mmtid = $query->param('mmtid'); # Marc modification template id Link Here
36
my $record;
36
my $record;
37
if ( $record_type eq 'biblio' ) {
37
if ( $record_type eq 'biblio' ) {
38
    my $biblio = Koha::Biblios->find( $record_id );
38
    my $biblio = Koha::Biblios->find( $record_id );
39
    my $record = $biblio->metadata->record;
39
    $record = $biblio->metadata->record;
40
} else {
40
} else {
41
    my $authority = Koha::MetadataRecord::Authority->get_from_authid( $record_id );
41
    my $authority = Koha::MetadataRecord::Authority->get_from_authid( $record_id );
42
    $record = $authority->record;
42
    $record = $authority->record;
43
- 

Return to bug 32631