[Koha-bugs] [Bug 32680] Add hooks to allow cover images to be provided by plugins

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Mar 14 12:30:11 CET 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32680

PTFS Europe Sandboxes <sandboxes at ptfs-europe.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #147996|0                           |1
        is obsolete|                            |

--- Comment #25 from PTFS Europe Sandboxes <sandboxes at ptfs-europe.com> ---
Created attachment 148158
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=148158&action=edit
Bug 32680: Add hooks to allow cover art to come from plugins

This patch adds hooks to Koha core that allow a plugin for cover art to inject
the images into the OPAC and staff client. These hooks could be re-used for
other providers. As an example, a plugin has been created for BDS covers, the
link is in another comment

Test plan:
1) Apply patch
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: Martin <martin.renvoize at ptfs-europe.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list