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

(-)a/Koha/Filter/MARC/ViewPolicy.pm (-2 / +5 lines)
Lines 86-92 sub filter { Link Here
86
        my $result        = $current_record;
86
        my $result        = $current_record;
87
        my $hide          = _should_hide_on_interface();
87
        my $hide          = _should_hide_on_interface();
88
88
89
        my $marcsubfieldstructure = GetMarcStructure( 0, $frameworkcode, { unsafe => 1 } );
89
        unless ( exists $self->{_cached_frameworks}->{$frameworkcode} ) {
90
            $self->{_cached_frameworks}->{$frameworkcode} = GetMarcStructure( 0, $frameworkcode, { unsafe => 1 } );
91
        }
92
93
        my $marcsubfieldstructure = $self->{_cached_frameworks}->{$frameworkcode};
90
94
91
        #if ($marcsubfieldstructure->{'000'}->{'@'}->{hidden}>0) {
95
        #if ($marcsubfieldstructure->{'000'}->{'@'}->{hidden}>0) {
92
        # LDR field is excluded from $current_record->fields().
96
        # LDR field is excluded from $current_record->fields().
93
- 

Return to bug 25457