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

(-)a/catalogue/detail.pl (-1 / +1 lines)
Lines 270-276 if ( $showcomp eq 'both' || $showcomp eq 'staff' ) { Link Here
270
}
270
}
271
271
272
# Display volumes link
272
# Display volumes link
273
my $show_volumes = 1 if @{$biblio->get_marc_volumes(1)};
273
my $show_volumes = @{ $biblio->get_marc_volumes(1) } ? 1 : 0;
274
274
275
# XSLT processing of some stuff
275
# XSLT processing of some stuff
276
my $xslt_variables = {
276
my $xslt_variables = {
(-)a/opac/opac-detail.pl (-4 / +3 lines)
Lines 621-627 if ( $showcomp eq 'both' || $showcomp eq 'opac' ) { Link Here
621
}
621
}
622
622
623
# Display volumes link
623
# Display volumes link
624
my $show_volumes = 1 if @{$biblio->get_marc_volumes(1)};
624
my $show_volumes = @{ $biblio->get_marc_volumes(1) } ? 1 : 0;
625
625
626
# XSLT processing of some stuff
626
# XSLT processing of some stuff
627
my $variables = {};
627
my $variables = {};
Lines 637-645 my @plugin_responses = Koha::Plugins->call( Link Here
637
for my $plugin_variables ( @plugin_responses ) {
637
for my $plugin_variables ( @plugin_responses ) {
638
    $variables = { %$variables, %$plugin_variables };
638
    $variables = { %$variables, %$plugin_variables };
639
}
639
}
640
$variables->{anonymous_session} = $borrowernumber ? 0 : 1;
640
$variables->{anonymous_session}   = $borrowernumber ? 0 : 1;
641
$variables->{show_analytics_link} = $show_analytics;
641
$variables->{show_analytics_link} = $show_analytics;
642
$variables->{show_volumes_link} = $show_volumes;
642
$variables->{show_volumes_link}   = $show_volumes;
643
$template->param(
643
$template->param(
644
    XSLTBloc => XSLTParse4Display({
644
    XSLTBloc => XSLTParse4Display({
645
        biblionumber   => $biblionumber,
645
        biblionumber   => $biblionumber,
646
- 

Return to bug 26314