[Koha-bugs] [Bug 33497] Reduce DB calls on staff detail page

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jul 5 12:31:56 CEST 2023


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

Jonathan Druart <jonathan.druart+koha at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #151861|0                           |1
        is obsolete|                            |
 Attachment #151862|0                           |1
        is obsolete|                            |
 Attachment #151863|0                           |1
        is obsolete|                            |
 Attachment #151866|0                           |1
        is obsolete|                            |

--- Comment #17 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Created attachment 153046
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=153046&action=edit
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 at davidnind.com>

Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list