|
Lines 588-594
$template->param( 'bad_yaml_prefs' => \@bad_yaml_prefs ) if @bad_yaml_prefs;
Link Here
|
| 588 |
my @frameworkcodes = Koha::BiblioFrameworks->search->get_column('frameworkcode'); |
588 |
my @frameworkcodes = Koha::BiblioFrameworks->search->get_column('frameworkcode'); |
| 589 |
my @hidden_biblionumbers; |
589 |
my @hidden_biblionumbers; |
| 590 |
push @frameworkcodes, ""; # it's not in the biblio_frameworks table! |
590 |
push @frameworkcodes, ""; # it's not in the biblio_frameworks table! |
|
|
591 |
my $no_FA_framework = 1; |
| 591 |
for my $frameworkcode ( @frameworkcodes ) { |
592 |
for my $frameworkcode ( @frameworkcodes ) { |
|
|
593 |
$no_FA_framework = 0 if $frameworkcode eq 'FA'; |
| 592 |
my $shouldhidemarc_opac = Koha::Filter::MARC::ViewPolicy->should_hide_marc( |
594 |
my $shouldhidemarc_opac = Koha::Filter::MARC::ViewPolicy->should_hide_marc( |
| 593 |
{ |
595 |
{ |
| 594 |
frameworkcode => $frameworkcode, |
596 |
frameworkcode => $frameworkcode, |
|
Lines 608-613
$template->param( 'bad_yaml_prefs' => \@bad_yaml_prefs ) if @bad_yaml_prefs;
Link Here
|
| 608 |
if $shouldhidemarc_intranet->{biblionumber}; |
610 |
if $shouldhidemarc_intranet->{biblionumber}; |
| 609 |
} |
611 |
} |
| 610 |
$template->param( warnHiddenBiblionumbers => \@hidden_biblionumbers ); |
612 |
$template->param( warnHiddenBiblionumbers => \@hidden_biblionumbers ); |
|
|
613 |
$template->param( warnFastCataloging => $no_FA_framework ); |
| 611 |
} |
614 |
} |
| 612 |
|
615 |
|
| 613 |
{ |
616 |
{ |