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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt (-3 / +5 lines)
Lines 365-371 Link Here
365
                                <!-- TABLE RESULTS START -->
365
                                <!-- TABLE RESULTS START -->
366
                                <table>
366
                                <table>
367
                                    <tr>
367
                                    <tr>
368
                                        [% IF ( AmazonCoverImages || LocalCoverImages || AdlibrisEnabled ) %]
368
                                        [% IF ( AmazonCoverImages  || LocalCoverImages || AdlibrisEnabled || (Koha.Preference('CustomCoverImages') && Koha.Preference('CustomCoverImagesURL')) ) %]
369
                                            <th>&nbsp;</th>
369
                                            <th>&nbsp;</th>
370
                                        [% END %]
370
                                        [% END %]
371
                                        <th colspan="2">Results</th>
371
                                        <th colspan="2">Results</th>
Lines 375-381 Link Here
375
                                    [% SET MaxSearchResultsItemsPerRecordStatusCheck = Koha.Preference('MaxSearchResultsItemsPerRecordStatusCheck') %]
375
                                    [% SET MaxSearchResultsItemsPerRecordStatusCheck = Koha.Preference('MaxSearchResultsItemsPerRecordStatusCheck') %]
376
                                    [% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %]
376
                                    [% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %]
377
                                        <tr>
377
                                        <tr>
378
                                            [% IF ( AmazonCoverImages || LocalCoverImages || AdlibrisEnabled ) %]
378
                                            [% IF ( AmazonCoverImages  || LocalCoverImages || AdlibrisEnabled || (Koha.Preference('CustomCoverImages') && Koha.Preference('CustomCoverImagesURL')) ) %]
379
                                                <td>
379
                                                <td>
380
                                                    [% IF ( LocalCoverImages) %]
380
                                                    [% IF ( LocalCoverImages) %]
381
                                                        <a class="p1" href="/cgi-bin/koha/catalogue/[% DetailPage | html %]?biblionumber=[% SEARCH_RESULT.biblionumber |url %]">
381
                                                        <a class="p1" href="/cgi-bin/koha/catalogue/[% DetailPage | html %]?biblionumber=[% SEARCH_RESULT.biblionumber |url %]">
Lines 395-400 Link Here
395
                                                        [% END %]
395
                                                        [% END %]
396
                                                        </a>
396
                                                        </a>
397
                                                    [% END # /IF AmazonCoverImages %]
397
                                                    [% END # /IF AmazonCoverImages %]
398
                                                    [% IF Koha.Preference('CustomCoverImages') && Koha.Preference('CustomCoverImagesURL') %]
399
                                                        <a href="[% SEARCH_RESULT.biblio_object.custom_cover_image_url | url %]"><img alt="Cover image" src="[% SEARCH_RESULT.biblio_object.custom_cover_image_url | url %]" />
400
                                                    [% END %]
398
                                                </td>
401
                                                </td>
399
                                            [% END # /IF( AmazonCoverImages || LocalCoverImages || AdlibrisEnabled )%]
402
                                            [% END # /IF( AmazonCoverImages || LocalCoverImages || AdlibrisEnabled )%]
400
403
401
- 

Return to bug 22445