https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42503

--- Comment #11 from Tomás Cohen Arazi (tcohen) <[email protected]> ---
Created attachment 199148
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=199148&action=edit
Bug 42503: (follow-up) Cache library names in strings_map

The original holds queue page resolved library names using
Branches.GetName() per row per field in the template, resulting in
individual DB queries for each cell. The initial API implementation
replicated this with Koha::Libraries->find() per field.

This patch uses the shared 'libraries:name' cache (the same one
populated by C4::Biblio::GetAuthorisedValueDesc) so library name
resolution is a single DB query regardless of result set size.

Signed-off-by: Tomas Cohen Arazi <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to