Bug 32680: Add cover images plugin hook
authorMatt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Wed, 19 Apr 2023 11:21:02 +0000 (11:21 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 15 May 2023 11:53:55 +0000 (08:53 -0300)
commit728e6872907ee08c1a5f97874918525e0b5adf53
treebfc17a599dc18922e01121e82bbab002cd9086c6
parent9848074b3cfcfa0ce0d580c36c6cf2074b7bc042
Bug 32680: Add cover images plugin hook

This patch adds a plugin hook to inject cover images into the templates

Test plan:
1) Apply all patches
2) Go to https://github.com/PTFS-Europe/koha-plugin-addBDSCovers
3) In the releases section, download the .kpz file
4) Upload this in the plugins section and enable the plugin
5) In either the OPAC or staff client, search the catalog
6) The results should have cover art from BDS covers
7) Click on a result and the detail page should also have the cover art

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/Template/Plugin/KohaPlugins.pm