]> git.koha-community.org Git - koha.git/commit
Bug 29454: Use Koha Cache Memory Lite to stash itemtype descriptions for template...
authorNick Clemens <nick@bywatersolutions.com>
Mon, 13 Dec 2021 14:44:18 +0000 (14:44 +0000)
committerArthur Suzuki <arthur.suzuki@biblibre.com>
Thu, 11 Aug 2022 09:20:56 +0000 (11:20 +0200)
commit3672bf97b651ed4592e84d31f2145d30298ac866
tree53218dacd43cc61e4f99bf8bead8fcc5c9e3dcc8
parent026cd9d66537efca106d487b9c867a7d14f251d3
Bug 29454: Use Koha Cache Memory Lite to stash itemtype descriptions for template plugin

Returns empty string if given item type is undefined or unknown

To test:
1 - Add 1000 items to a record, of varying item types
2 - Bring up the details page
3 - Note time to load
4 - Apply patch
5 - Reload page and compare to previous
6 - Confirm information is correct
7 - Confirm some performance benefit

Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 3df28469c551d7cc2c2f16925e75e9913db0ee67)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit f4595b7bbdd4fd739084e4df3123821572b1a39c)
Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
Koha/Template/Plugin/ItemTypes.pm