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

(-)a/catalogue/search.pl (+4 lines)
Lines 665-670 for (my $i=0;$i<@servers;$i++) { Link Here
665
                if ( grep {$_ eq $line->{'biblionumber'}} @cart_list) {
665
                if ( grep {$_ eq $line->{'biblionumber'}} @cart_list) {
666
                    $line->{'incart'} = 1;
666
                    $line->{'incart'} = 1;
667
                }
667
                }
668
669
                if ( C4::Context->preference('LocalCoverImages') ) {
670
                    $line->{has_local_cover_image} = $line->{biblio_object}->cover_images->count;
671
                }
668
            }
672
            }
669
            my( $page_numbers, $hits_to_paginate, $pages, $current_page_number, $previous_page_offset, $next_page_offset, $last_page_offset ) =
673
            my( $page_numbers, $hits_to_paginate, $pages, $current_page_number, $previous_page_offset, $next_page_offset, $last_page_offset ) =
670
                Koha::SearchEngine::Search->pagination_bar(
674
                Koha::SearchEngine::Search->pagination_bar(
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt (-2 / +1 lines)
Lines 480-486 Link Here
480
                                            [% IF ( CoverImagePlugins || AmazonCoverImages  || LocalCoverImages || IntranetCoce || ( SyndeticsCovers ) || (Koha.Preference('CustomCoverImages') && Koha.Preference('CustomCoverImagesURL')) ) %]
480
                                            [% IF ( CoverImagePlugins || AmazonCoverImages  || LocalCoverImages || IntranetCoce || ( SyndeticsCovers ) || (Koha.Preference('CustomCoverImages') && Koha.Preference('CustomCoverImagesURL')) ) %]
481
    <td class="bookcoverimg">
481
    <td class="bookcoverimg">
482
        <div id="cover-slides-[% SEARCH_RESULT.biblionumber | html %]" class="cover-slides" data-biblionumber="[% SEARCH_RESULT.biblionumber | html %]" data-isbn="[% To.json(SEARCH_RESULT.normalized_isbn) | $raw %]" data-processedbiblio="[% PROCESS biblio_a_href biblionumber => SEARCH_RESULT.biblionumber | $raw %]">
482
        <div id="cover-slides-[% SEARCH_RESULT.biblionumber | html %]" class="cover-slides" data-biblionumber="[% SEARCH_RESULT.biblionumber | html %]" data-isbn="[% To.json(SEARCH_RESULT.normalized_isbn) | $raw %]" data-processedbiblio="[% PROCESS biblio_a_href biblionumber => SEARCH_RESULT.biblionumber | $raw %]">
483
            [% IF ( LocalCoverImages ) %]
483
            [% IF ( LocalCoverImages && SEARCH_RESULT.has_local_cover_image ) %]
484
                <div id="local-coverimg-[% SEARCH_RESULT.biblionumber | html %]" class="cover-image local-coverimg">
484
                <div id="local-coverimg-[% SEARCH_RESULT.biblionumber | html %]" class="cover-image local-coverimg">
485
                    <a href="[% PROCESS biblio_a_href biblionumber => SEARCH_RESULT.biblionumber %]">
485
                    <a href="[% PROCESS biblio_a_href biblionumber => SEARCH_RESULT.biblionumber %]">
486
                        <img src="/cgi-bin/koha/catalogue/image.pl?thumbnail=1&amp;biblionumber=[% SEARCH_RESULT.biblionumber | uri %]" alt="Local cover image" />
486
                        <img src="/cgi-bin/koha/catalogue/image.pl?thumbnail=1&amp;biblionumber=[% SEARCH_RESULT.biblionumber | uri %]" alt="Local cover image" />
487
- 

Return to bug 35558