Bug 38683: OPAC cover images are only shown on fist result page
This patch corrects the OPAC search results template so that cover images will be added on more than just the first page of results. To test, apply the patch and enable a cover image system preference e.g. OPACAmazonCoverImages. Perform a search in the OPAC which will return multiple pages of results. Page through several pages of results to confirm that cover images appear on each page. Signed-off-by: Jan Kissig <bibliothek@th-wildau.de> Signed-off-by: Sam Sowanick <sam.sowanick@corvallisoregon.gov> Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
30a1c4bb45
commit
57a068ca6f
|
|
@ -23,9 +23,7 @@
|
|||
[% SET BakerTaylorEnabled = Koha.Preference('BakerTaylorEnabled') %]
|
||||
[% SET OPACCoce = ( Koha.Preference('OPACCoce') && Koha.Preference('CoceProviders') ) %]
|
||||
[% IF ( CoverImagePlugins || OPACLocalCoverImages || OPACAmazonCoverImages || SyndeticsCoverImages || GoogleJackets || OpenLibraryCovers || BakerTaylorEnabled || OPACCoce || OPACCustomCoverImages ) %]
|
||||
[% IF firstPage %]
|
||||
[% SET CoverImages = 1 %]
|
||||
[% END %]
|
||||
[% SET CoverImages = 1 %]
|
||||
[% SET OPACCustomCoverImages = ( Koha.Preference('OPACCustomCoverImages') && Koha.Preference('CustomCoverImagesURL') ) %]
|
||||
[% SET OverDriveEnabled = Koha.Preference('OverDriveLibraryID') && Koha.Preference('OverDriveClientKey') && Koha.Preference('OverDriveClientSecret') %]
|
||||
[% END %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue