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)
committerMatt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Tue, 18 Jul 2023 13:27:58 +0000 (13:27 +0000)
commit9e780aaf84ad8d33c96a81daa97bb8ab37aa61a8
tree6700be799da39c12f069e953bb63ca4e642cffd1
parentd537a2686dbc1596ddeb6c18d77f37ef989bf363
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>
(cherry picked from commit 2cf00f1a49a7b9f8d5ca105e2dd1add5d5d95198)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit dc273a8dfe384b7c847a23b842f1dde601537d82)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
catalogue/detail.pl