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

(-)a/Koha/Biblio.pm (-1 / +1 lines)
Lines 949-955 sub get_marc_notes { Link Here
949
949
950
    my %hiddenlist = map { $_ => 1 }
950
    my %hiddenlist = map { $_ => 1 }
951
        split( /,/, C4::Context->preference('NotesToHide'));
951
        split( /,/, C4::Context->preference('NotesToHide'));
952
    my $record = $self->metadata->record;
952
    my $record = $params->{record} // $self->metadata->record;
953
    $record = transformMARCXML4XSLT( $self->biblionumber, $record, $opac );
953
    $record = transformMARCXML4XSLT( $self->biblionumber, $record, $opac );
954
954
955
    foreach my $field ( $record->field($scope) ) {
955
    foreach my $field ( $record->field($scope) ) {
(-)a/opac/opac-detail.pl (-2 / +1 lines)
Lines 799-805 if (scalar(@itemloop) == 0 || scalar(@otheritemloop) == 0) { Link Here
799
    }
799
    }
800
}
800
}
801
801
802
my $marcnotesarray = $biblio->get_marc_notes({ opac => 1 });
802
my $marcnotesarray = $biblio->get_marc_notes({ opac => 1, record => $record });
803
803
804
if( C4::Context->preference('ArticleRequests') ) {
804
if( C4::Context->preference('ArticleRequests') ) {
805
    my $patron = $borrowernumber ? Koha::Patrons->find($borrowernumber) : undef;
805
    my $patron = $borrowernumber ? Koha::Patrons->find($borrowernumber) : undef;
806
- 

Return to bug 30918