Bug 28649 - Add cache to GetAuthorisedValueDesc
Summary: Add cache to GetAuthorisedValueDesc
Status: RESOLVED DUPLICATE of bug 28371
Alias: None
Product: Koha
Classification: Unclassified
Component: Architecture, internals, and plumbing (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-02 06:35 UTC by Fridolin Somers
Modified: 2021-07-02 07:52 UTC (History)
0 users

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***