Bug 33497: Use 'host_items' param to fetch all items at once
authorNick Clemens <nick@bywatersolutions.com>
Fri, 10 Mar 2023 12:40:30 +0000 (12:40 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Thu, 6 Jul 2023 13:08:40 +0000 (10:08 -0300)
commit2cf00f1a49a7b9f8d5ca105e2dd1add5d5d95198
treee02a3079f241747b6d3b3f47a7e29eb16b54b168
parent7d72e686531a54c51534a2871909256b22832128
Bug 33497: Use 'host_items' param to fetch all items at once

This patch adjusts the detail page to fetch items and host items
together, and prefetches transfers and checkouts

To test:
1 - Enable easy analytics
2 - Attach some items to a bib
3 - Checkout an item on the bib
4 - View the details page
5 - Apply patch
6 - View details page, confirm nothing has changed

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
catalogue/detail.pl