[Koha-bugs] [Bug 29043] Items are prcoessed but not displayed on request.pl before a patron is selected

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Sep 20 14:51:47 CEST 2021


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

Andrew Fuerste-Henry <andrew at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #124941|0                           |1
        is obsolete|                            |

--- Comment #2 from Andrew Fuerste-Henry <andrew at bywatersolutions.com> ---
Created attachment 125060
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=125060&action=edit
Bug 29043: Don't load items unless a patron has been chosen on request.pl

This page wraps the item processing into an 'if( $patron )' conditional
to boost performance before a patron has been located.

To test:
 1 - Browse to a bib in the staff client
 2 - Click on the holds tab
 3 - Note loading time
 4 - Add 500 items to bib
 5 - Note loading time - it takes longer
 6 - Note items are not displayed
 7 - Apply patch
 8 - Reload page - is much faster
 9 - Find/choose a patron
10 - Confirm items are loaded correctly

Signed-off-by: Andrew Fuerste-Henry <andrew at bywatersolutions.com>

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


More information about the Koha-bugs mailing list