Bug 35557: Remove LoadResultsCovers
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 13 Dec 2023 09:32:12 +0000 (10:32 +0100)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Wed, 27 Dec 2023 18:06:04 +0000 (19:06 +0100)
commit4e66aa8065803fb2829db988ca1f4c71cc641137
treedd6f45db75e1c3376b0163706f1e4e9b8336b20c
parent5961e5c2a3c9c46461fe563b85b0d94bd0df195c
Bug 35557: Remove LoadResultsCovers

The JS function LoadResultsCovers is not used from the Staff interface.

It is supposed to load the local cover images in JS but actually we are embedding the thumbnail in the img tag.

Test plan:
Confirm that LoadResultsCovers was called but had no effect.
Note that the selector ^local-thumbnail only exists in shelfbrowser.inc

but results.js is only used from results.tt (not shelfbrowser.inc)

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
koha-tmpl/intranet-tmpl/prog/js/localcovers.js
koha-tmpl/intranet-tmpl/prog/js/pages/results.js