Bug 19511: Local cover images not centered in table column in staff client search...
authorOwen Leonard <oleonard@myacpl.org>
Thu, 26 Jul 2018 15:36:24 +0000 (15:36 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 21 Sep 2018 13:25:49 +0000 (15:25 +0200)
commit2fdf6e23223a712689170aa1eab2d96e9b8198ce
tree4b2fd4f11426ed34d2b9cabf9d3d4a193cc7e907
parent463e7de027716aaf909e49a930a9e962fe458014
Bug 19511: Local cover images not centered in table column in staff client search results

This patch modifies the JavaScript which embeds local cover images in
staff client catalog search results. It now adds the "thumbail" class to
the image, matching Amazon cover images.

To test you should have one or more titles with local cover images
attached. Apply the patch and clear your browser cache if necessary.

Enable both the AmazonCoverImages and LocalCoverImages system
preferences and perform a search which will return titles with local
cover images. Confirm that local covers are styled like Amazon covers.

Tested and confirmed local cover images are appearing quite nicely now.
Signed-off-by: Dilan Johnpullé <dilan@calyx.net.au>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit afa51869c39e1a450314a6d13098571566cc241c)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 683589ec9556d65c9995125c962ce7c471495937)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/js/localcovers.js