Lines 92-98
my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
Link Here
|
92 |
|
92 |
|
93 |
my $patron = Koha::Patrons->find($loggedinuser); |
93 |
my $patron = Koha::Patrons->find($loggedinuser); |
94 |
my $biblio = Koha::Biblios->find($biblionumber); |
94 |
my $biblio = Koha::Biblios->find($biblionumber); |
95 |
my $record = $biblio->metadata->record( |
95 |
my $record = $biblio->metadata_record( |
96 |
{ |
96 |
{ |
97 |
embed_items => 1, |
97 |
embed_items => 1, |
98 |
opac => 1, |
98 |
opac => 1, |
Lines 116-130
unless ( $patron and $patron->category->override_hidden_items ) {
Link Here
|
116 |
my $framework = $biblio ? $biblio->frameworkcode : q{}; |
116 |
my $framework = $biblio ? $biblio->frameworkcode : q{}; |
117 |
my $tagslib = &GetMarcStructure( 0, $framework ); |
117 |
my $tagslib = &GetMarcStructure( 0, $framework ); |
118 |
|
118 |
|
119 |
my $record_processor = Koha::RecordProcessor->new({ |
|
|
120 |
filters => 'ViewPolicy', |
121 |
options => { |
122 |
interface => 'opac', |
123 |
frameworkcode => $framework |
124 |
} |
125 |
}); |
126 |
$record_processor->process($record); |
127 |
|
128 |
# get biblionumbers stored in the cart |
119 |
# get biblionumbers stored in the cart |
129 |
if(my $cart_list = $query->cookie("bib_list")){ |
120 |
if(my $cart_list = $query->cookie("bib_list")){ |
130 |
my @cart_list = split(/\//, $cart_list); |
121 |
my @cart_list = split(/\//, $cart_list); |
131 |
- |
|
|