Bug 31313: (QA follow-up) Prefetch checkouts and branches
authorNick Clemens <nick@bywatersolutions.com>
Mon, 15 Aug 2022 11:34:59 +0000 (11:34 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 16 Aug 2022 12:23:54 +0000 (09:23 -0300)
commit05be7300acbec34a118de5c11787a9c784b8b808
tree0b6ce4c41472d97f9cb64345e16aedf56c7b750a
parentc46b2ab1cd0acb6b04d008a79d4bdf5730216cb4
Bug 31313: (QA follow-up) Prefetch checkouts and branches

This prefetches objects we are using in templates to avoid extar DB calls

The branch fetches won't actually be used without the extra patch on 31314 that
adapts home_branch and holding_branch routines to use result objects

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
opac/opac-detail.pl