]> git.koha-community.org Git - koha.git/commit
Bug 35558: Do not retrieve the local image if none exists
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 13 Dec 2023 10:10:24 +0000 (11:10 +0100)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 26 Apr 2024 16:06:07 +0000 (18:06 +0200)
commit8cde45e0723a4b34bdf26c7ef4cfd2d8e767c837
tree0dca3fc7b01a38fff58a0133b93094bb8187932b
parent86e6f8451fb90ceafdef8879c77ecc27e1a44769
Bug 35558: Do not retrieve the local image if none exists

On the search results we are fetching the thumbnails of the local cover
images using catalogue/image.pl
Which means 1 GET per results on the page.

This patch suggests to have this information beforehand in order to
reduce the number of hits and network traffic?

However the page load will be slightly slower ofc.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
catalogue/search.pl
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt