Bug 28649

Summary: Add cache to GetAuthorisedValueDesc
Product: Koha Reporter: Fridolin Somers <fridolin.somers>
Component: Architecture, internals, and plumbingAssignee: Bugs List <koha-bugs>
Status: RESOLVED DUPLICATE QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low    
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Fridolin Somers 2021-07-02 06:35:29 UTC
C4::Biblio::GetAuthorisedValueDesc() is used in many places.
In C4::XSLT::transformMARCXML4XSLT() for example it will convert all subfields defined with an authorised value category.

For better performance, add cache to this function.
It will improve a lot when there are a lot of items with same value in branch, location, ccode, ...
Comment 1 Fridolin Somers 2021-07-02 07:52:06 UTC
Forget about it, found Bug 28371

*** This bug has been marked as a duplicate of bug 28371 ***