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

(-)a/opac/opac-ISBDdetail.pl (-3 / +4 lines)
Lines 95-107 unless ( $patron and $patron->category->override_hidden_items ) { Link Here
95
}
95
}
96
96
97
my $record      = $biblio->metadata->record;
97
my $record      = $biblio->metadata->record;
98
my @items = grep { !$_->hidden_in_opac({ rules => $opachiddenitems_rules }) } @{$biblio->items->as_list} ;
98
my $marcflavour = C4::Context->preference("marcflavour");
99
my $marcflavour = C4::Context->preference("marcflavour");
99
100
100
my $record_processor = Koha::RecordProcessor->new({
101
my $record_processor = Koha::RecordProcessor->new({
101
    filters => 'ViewPolicy',
102
    filters => [ 'ViewPolicy', 'EmbedItems' ],
102
    options => {
103
    options => {
103
        interface => 'opac',
104
        interface => 'opac',
104
        frameworkcode => $biblio->frameworkcode
105
        frameworkcode => $biblio->frameworkcode,
106
        items => \@items
105
    }
107
    }
106
});
108
});
107
$record_processor->process($record);
109
$record_processor->process($record);
108
- 

Return to bug 26223