]> git.koha-community.org Git - koha.git/commit
Bug 35557: Remove LoadResultsCovers
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 13 Dec 2023 09:32:12 +0000 (10:32 +0100)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 3 Jan 2024 15:38:20 +0000 (16:38 +0100)
commit43fb9f9c7ab850db8277e60f436514746187f2d6
tree1a268cccbd0fa42f2e1cdc5f96220d601f44a9d7
parent39b75d3da03ceae6bd11d2e0f09c1fcff015eef6
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>
koha-tmpl/intranet-tmpl/prog/js/localcovers.js
koha-tmpl/intranet-tmpl/prog/js/pages/results.js