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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt (-3 / +7 lines)
Lines 356-362 Link Here
356
                    <!-- TABLE RESULTS START -->
356
                    <!-- TABLE RESULTS START -->
357
                <table>
357
                <table>
358
                    <tr>
358
                    <tr>
359
                        [% IF ( AmazonCoverImages || LocalCoverImages || AdlibrisEnabled ) %]<th>&nbsp;</th>[% END %]
359
                        [% IF ( AmazonCoverImages  || LocalCoverImages || AdlibrisEnabled || (Koha.Preference('CustomCoverImages') && Koha.Preference('CustomCoverImagesURL')) ) %]
360
                            <th>&nbsp;</th>
361
                        [% END %]
360
                        <th colspan="2">Results</th>
362
                        <th colspan="2">Results</th>
361
                        <th>Location</th>
363
                        <th>Location</th>
362
                    </tr>
364
                    </tr>
Lines 364-370 Link Here
364
                        [% SET MaxSearchResultsItemsPerRecordStatusCheck = Koha.Preference('MaxSearchResultsItemsPerRecordStatusCheck') %]
366
                        [% SET MaxSearchResultsItemsPerRecordStatusCheck = Koha.Preference('MaxSearchResultsItemsPerRecordStatusCheck') %]
365
                        [% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %]
367
                        [% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %]
366
                         <tr>
368
                         <tr>
367
                            [% IF ( AmazonCoverImages || LocalCoverImages || AdlibrisEnabled ) %]
369
                            [% IF ( AmazonCoverImages  || LocalCoverImages || AdlibrisEnabled || (Koha.Preference('CustomCoverImages') && Koha.Preference('CustomCoverImagesURL')) ) %]
368
                                <td>
370
                                <td>
369
                                    [% IF ( LocalCoverImages) %]
371
                                    [% IF ( LocalCoverImages) %]
370
                                        <a class="p1" href="/cgi-bin/koha/catalogue/[% DetailPage | html %]?biblionumber=[% SEARCH_RESULT.biblionumber |url %]">
372
                                        <a class="p1" href="/cgi-bin/koha/catalogue/[% DetailPage | html %]?biblionumber=[% SEARCH_RESULT.biblionumber |url %]">
Lines 384-389 Link Here
384
                                        [% END %]
386
                                        [% END %]
385
                                        </a>
387
                                        </a>
386
                                    [% END %]
388
                                    [% END %]
389
                                    [% IF Koha.Preference('CustomCoverImages') && Koha.Preference('CustomCoverImagesURL') %]
390
                                        <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 %]" />
391
                                    [% END %]
387
                                </td>
392
                                </td>
388
                            [% END %]
393
                            [% END %]
389
                            <td>
394
                            <td>
390
- 

Return to bug 22445