From d781731e7c920b99b19b9d2ea7bd0fca8889df11 Mon Sep 17 00:00:00 2001 From: Hammat Wele Date: Fri, 12 Jul 2024 21:42:26 +0000 Subject: [PATCH] Bug 36154: Make shelfbrowser.tt to be able to use images coming from plugins https://bugs.koha-community.org/show_bug.cgi?id=37916 --- koha-tmpl/opac-tmpl/bootstrap/en/modules/svc/shelfbrowser.tt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/svc/shelfbrowser.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/svc/shelfbrowser.tt index 6af6d6675c..7242727301 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/svc/shelfbrowser.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/svc/shelfbrowser.tt @@ -1,3 +1,6 @@ [% USE Koha %] +[% USE KohaPlugins %] +[% SET CoverImagePlugins = KohaPlugins.get_plugins_opac_cover_images %] +[% CoverImagePlugins %] [% PROCESS 'shelfbrowser.inc' %] [% INCLUDE shelfbrowser %] -- 2.34.1