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

(-)a/opac/opac-readingrecord.pl (-8 / +13 lines)
Lines 89-101 foreach my $issue ( @{$issues} ) { Link Here
89
          getitemtypeimagelocation( 'opac',
89
          getitemtypeimagelocation( 'opac',
90
            $itemtypes->{ $issue->{$itype_attribute} }->{imageurl} );
90
            $itemtypes->{ $issue->{$itype_attribute} }->{imageurl} );
91
    }
91
    }
92
    my $marcxml = C4::Biblio::GetXmlBiblio( $issue->{biblionumber} );
92
93
    if ( $marcxml ) {
93
    if (   C4::Context->preference('BakerTaylorEnabled')
94
        $marcxml = StripNonXmlChars( $marcxml );
94
        || C4::Context->preference('SyndeticsEnabled')
95
        my $marc_rec =
95
        || C4::Context->preference('SyndeticsCoverImages') )
96
          MARC::Record::new_from_xml( $marcxml, 'UTF-8',
96
    {
97
            C4::Context->preference('marcflavour') );
97
        my $marcxml = C4::Biblio::GetXmlBiblio( $issue->{biblionumber} );
98
        $issue->{normalized_upc} = GetNormalizedUPC( $marc_rec, C4::Context->preference('marcflavour') );
98
        if ( $marcxml ) {
99
            $marcxml = StripNonXmlChars( $marcxml );
100
            my $marc_rec =
101
              MARC::Record::new_from_xml( $marcxml, 'UTF-8',
102
                C4::Context->preference('marcflavour') );
103
            $issue->{normalized_upc} = GetNormalizedUPC( $marc_rec, C4::Context->preference('marcflavour') );
104
        }
99
    }
105
    }
100
    # My Summary HTML
106
    # My Summary HTML
101
    if ($opac_summary_html) {
107
    if ($opac_summary_html) {
102
- 

Return to bug 33950