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

(-)a/about.pl (+3 lines)
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
{
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt (-2 / +7 lines)
Lines 382-391 Link Here
382
                                Contact your system administrator.
382
                                Contact your system administrator.
383
                            [% END # /IF warnConnectBroker %]
383
                            [% END # /IF warnConnectBroker %]
384
384
385
                            [% IF warnPrefRequireChoosingExistingAuthority || warnPrefEasyAnalyticalRecords || warnPrefAnonymousPatronOPACPrivacy || warnPrefAnonymousPatronAnonSuggestions || warnPrefAnonymousPatronOPACPrivacy_PatronDoesNotExist || warnPrefAnonymousPatronAnonSuggestions_PatronDoesNotExist || warnPrefKohaAdminEmailAddress || warnPrefOpacHiddenItems || invalid_yesno.count || warnNoActiveCurrency || AutoSelfCheckPatronDoesNotHaveSelfCheckPerm || AutoSelfCheckPatronHasTooManyPerm || warnStatisticsFieldsError || warnNoTemplateCaching || warnILLConfiguration || warnXSLT || oauth2_missing_deps || bad_yaml_prefs || warnIssuingRules || config_bcrypt_settings_no_set || warnHiddenBiblionumbers.size %]
385
                            [% IF warnPrefRequireChoosingExistingAuthority || warnPrefEasyAnalyticalRecords || warnPrefAnonymousPatronOPACPrivacy || warnPrefAnonymousPatronAnonSuggestions || warnPrefAnonymousPatronOPACPrivacy_PatronDoesNotExist || warnPrefAnonymousPatronAnonSuggestions_PatronDoesNotExist || warnPrefKohaAdminEmailAddress || warnPrefOpacHiddenItems || invalid_yesno.count || warnNoActiveCurrency || AutoSelfCheckPatronDoesNotHaveSelfCheckPerm || AutoSelfCheckPatronHasTooManyPerm || warnStatisticsFieldsError || warnNoTemplateCaching || warnILLConfiguration || warnXSLT || oauth2_missing_deps || bad_yaml_prefs || warnIssuingRules || config_bcrypt_settings_no_set || warnHiddenBiblionumbers.size || warnFastCataloging %]
386
                                <h2>Warnings regarding the system configuration</h2>
386
                                <h2>Warnings regarding the system configuration</h2>
387
                                <table>
387
                                <table>
388
                                    <caption>Preferences and parameters</caption>
388
                                    <caption>Preferences and parameters</caption>
389
                                    [% IF (warnFastCataloging) %]
390
                                        <tr>
391
                                            <th scope="row"><strong>Warning</strong> </th>
392
                                            <td>There is no "Fast add" (FA) framework defined in Administration->MARC frameworks. This disables the 'Fast cataloging' feature in cataloging/circulation.</td>
393
                                        </tr>
394
                                    [% END %]
389
                                    [% IF (warnPrefRequireChoosingExistingAuthority) %]
395
                                    [% IF (warnPrefRequireChoosingExistingAuthority) %]
390
                                        <tr>
396
                                        <tr>
391
                                            <th scope="row"><strong>Warning</strong> </th>
397
                                            <th scope="row"><strong>Warning</strong> </th>
392
- 

Return to bug 3831