]> 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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 24 Jun 2022 14:55:34 +0000 (11:55 -0300)
commit3df28469c551d7cc2c2f16925e75e9913db0ee67
treed7f11a62f64e40e849cbe3fcca5d2ab5165e6de7
parentbc0264bae4769fc75133f0e10f13fc6edd86f016
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>
Koha/Template/Plugin/ItemTypes.pm