Bug 35557: Remove LoadResultsCovers
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 13 Dec 2023 09:32:12 +0000 (10:32 +0100)
committerLucas Gass <lucas@bywatersolutions.com>
Thu, 4 Jan 2024 21:07:33 +0000 (21:07 +0000)
commit51433f2569d0d5a6ddc3e887bb9143f661c8001d
tree9b4a4a30940b1a13be05f127441cc31ba31d942b
parentfdf3e77e01f3777cd302f6149ca6829e7b2e0260
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>
(cherry picked from commit 4e66aa8065803fb2829db988ca1f4c71cc641137)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 43fb9f9c7ab850db8277e60f436514746187f2d6)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/js/localcovers.js
koha-tmpl/intranet-tmpl/prog/js/pages/results.js