Bug 32680: (QA follow-up) Fix opac call and remove second fetch
Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
d0b442b478
commit
a18e234ddc
4 changed files with 6 additions and 12 deletions
|
@ -2448,8 +2448,6 @@
|
|||
});
|
||||
[% END %]
|
||||
</script>
|
||||
[% IF ( CoverImagePlugins ) %]
|
||||
[% KohaPlugins.get_plugins_intranet_cover_images | $raw %]
|
||||
[% END %]
|
||||
[% CoverImagePlugins | $raw %]
|
||||
[% END %]
|
||||
[% INCLUDE 'intranet-bottom.inc' %]
|
||||
|
|
|
@ -914,7 +914,7 @@
|
|||
[% END %]
|
||||
</script>
|
||||
[% Asset.js("js/pages/results.js") | $raw %]
|
||||
[% KohaPlugins.get_plugins_intranet_cover_images | $raw %]
|
||||
[% CoverImagePlugins | $raw %]
|
||||
[% END %]
|
||||
|
||||
[% INCLUDE 'intranet-bottom.inc' %]
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
[% USE KohaPlugins %]
|
||||
[% SET TagsShowEnabled = ( ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsShowOnDetail ) %]
|
||||
[% SET TagsInputEnabled = ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsInputOnDetail ) %]
|
||||
[% SET CoverImagePlugins = KohaPlugins.get_plugins_intranet_cover_images %]
|
||||
[% SET CoverImagePlugins = KohaPlugins.get_plugins_opac_cover_images %]
|
||||
[% IF Koha.Preference('AmazonAssocTag') %]
|
||||
[% AmazonAssocTag = '?tag=' _ Koha.Preference('AmazonAssocTag') %]
|
||||
[% ELSE %]
|
||||
|
@ -1456,9 +1456,7 @@
|
|||
[% Asset.js("js/ratings.js") | $raw %]
|
||||
[% END %]
|
||||
|
||||
[% IF ( CoverImagePlugins ) %]
|
||||
[% KohaPlugins.get_plugins_opac_cover_images | $raw %]
|
||||
[% END %]
|
||||
[% CoverImagePlugins | $raw %]
|
||||
|
||||
[% IF ( OpacHighlightedWords ) %][% Asset.js("lib/jquery/plugins/jquery.highlight-3.js") | $raw %][% END %]
|
||||
[% IF ( Koha.Preference('OPACDetailQRCode') ) %]
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
[% USE To %]
|
||||
[% SET TagsShowEnabled = ( ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsShowOnList ) %]
|
||||
[% SET TagsInputEnabled = ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsInputOnList ) %]
|
||||
[% SET CoverImagePlugins = KohaPlugins.get_plugins_intranet_cover_images %]
|
||||
[% SET CoverImagePlugins = KohaPlugins.get_plugins_opac_cover_images %]
|
||||
|
||||
[% IF firstPage %]
|
||||
[% SET OverDriveEnabled = Koha.Preference('OverDriveLibraryID') && Koha.Preference('OverDriveClientKey') && Koha.Preference('OverDriveClientSecret') %]
|
||||
|
@ -591,9 +591,7 @@
|
|||
[% IF OpenLibraryCovers || OpenLibrarySearch %]
|
||||
[% Asset.js("js/openlibrary.js") | $raw %]
|
||||
[% END %]
|
||||
[% IF ( CoverImagePlugins ) %]
|
||||
[% KohaPlugins.get_plugins_opac_cover_images | $raw %]
|
||||
[% END %]
|
||||
[% CoverImagePlugins | $raw %]
|
||||
<script>
|
||||
[% IF ( Koha.Preference( 'opacuserlogin' ) == 1 ) && ( Koha.Preference( 'OPACHoldRequests' ) == 1 ) %]
|
||||
function holdMultiple() {
|
||||
|
|
Loading…
Reference in a new issue