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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt (-1 / +1 lines)
Lines 340-346 Link Here
340
                                                <div class="coverimages cover-slides itemtype_[% SEARCH_RESULT.itemtype | html %]" data-isbn="[% To.json(SEARCH_RESULT.normalized_isbn) | $raw %]" data-imgtitle="[% img_title | html %]">
340
                                                <div class="coverimages cover-slides itemtype_[% SEARCH_RESULT.itemtype | html %]" data-isbn="[% To.json(SEARCH_RESULT.normalized_isbn) | $raw %]" data-imgtitle="[% img_title | html %]">
341
                                                    <a class="p1" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber | uri %]">
341
                                                    <a class="p1" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber | uri %]">
342
342
343
                                                        [% IF ( OPACLocalCoverImages ) %]
343
                                                        [% IF ( OPACLocalCoverImages && SEARCH_RESULT.has_local_cover_image ) %]
344
                                                            <span title="[% img_title | html %]" class="[% SEARCH_RESULT.biblionumber | html %]" id="local-thumbnail[% loop.count | html %]"></span>
344
                                                            <span title="[% img_title | html %]" class="[% SEARCH_RESULT.biblionumber | html %]" id="local-thumbnail[% loop.count | html %]"></span>
345
                                                        [% END %]
345
                                                        [% END %]
346
346
(-)a/opac/opac-search.pl (-1 / +4 lines)
Lines 702-707 for (my $i=0;$i<@servers;$i++) { Link Here
702
702
703
            # BZ17530: 'Intelligent' guess if result can be article requested
703
            # BZ17530: 'Intelligent' guess if result can be article requested
704
            $res->{artreqpossible} = ( $art_req_itypes->{ $res->{itemtype} // q{} } || $art_req_itypes->{ '*' } ) ? 1 : q{};
704
            $res->{artreqpossible} = ( $art_req_itypes->{ $res->{itemtype} // q{} } || $art_req_itypes->{ '*' } ) ? 1 : q{};
705
706
            if ( C4::Context->preference('OPACLocalCoverImages') ) {
707
                $res->{has_local_cover_image} = $res->{biblio_object}->cover_images->count;
708
            }
705
        }
709
        }
706
710
707
        if ($results_hashref->{$server}->{"hits"}){
711
        if ($results_hashref->{$server}->{"hits"}){
708
- 

Return to bug 35558