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

(-)a/Koha/Biblio.pm (-1 / +1 lines)
Lines 941-947 sub get_marc_notes { Link Here
941
941
942
    my %hiddenlist = map { $_ => 1 }
942
    my %hiddenlist = map { $_ => 1 }
943
        split( /,/, C4::Context->preference('NotesToHide'));
943
        split( /,/, C4::Context->preference('NotesToHide'));
944
    my $record = $self->metadata->record;
944
    my $record = $params->{record} // $self->metadata->record;
945
    $record = transformMARCXML4XSLT( $self->biblionumber, $record, $opac );
945
    $record = transformMARCXML4XSLT( $self->biblionumber, $record, $opac );
946
946
947
    foreach my $field ( $record->field($scope) ) {
947
    foreach my $field ( $record->field($scope) ) {
(-)a/opac/opac-detail.pl (-2 / +1 lines)
Lines 796-802 if (scalar(@itemloop) == 0 || scalar(@otheritemloop) == 0) { Link Here
796
    }
796
    }
797
}
797
}
798
798
799
my $marcnotesarray = $biblio->get_marc_notes({ opac => 1 });
799
my $marcnotesarray = $biblio->get_marc_notes({ opac => 1, record => $record });
800
800
801
if( C4::Context->preference('ArticleRequests') ) {
801
if( C4::Context->preference('ArticleRequests') ) {
802
    my $patron = $borrowernumber ? Koha::Patrons->find($borrowernumber) : undef;
802
    my $patron = $borrowernumber ? Koha::Patrons->find($borrowernumber) : undef;
803
- 

Return to bug 30918