]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#2051708: Cache MR summary calculations
authorMike Rylander <mrylander@gmail.com>
Tue, 30 Jan 2024 15:42:03 +0000 (10:42 -0500)
committerJason Boyer <JBoyer@equinoxOLI.org>
Tue, 30 Jan 2024 18:38:20 +0000 (13:38 -0500)
commitf053477c3b85ba9e0f45d97192ef38f0d3083943
treea2326b7cd5889c42b190670dcd6eb9bc07003a67
parenta76e03efdb6defc51d3255f65345c2c885eb1a8c
LP#2051708: Cache MR summary calculations

As part of the angularization of the staff catalog, new logic was
added to the bib summary API that gathers record attributes for the
constituent records of a result's metarecord. For very large
metarecords (~100+ constituents) this can be very slow, and when a
search returns many bibs from the same metarecord, the underlying
data is retrieved separately for each bib.

This commit creates a temporary local cache to avoid repeating the
caclulation of MR summary data on the same result set page.

Release-note: Improve speed of searching for and displaying (in Staff View) titles that are members of large metarecord sets.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Jason Boyer <JBoyer@equinoxOLI.org>
Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Biblio.pm