[Koha-bugs] [Bug 29043] Items are processed 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
Wed Nov 17 15:50:53 CET 2021


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

--- Comment #5 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 127731
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=127731&action=edit
Bug 29043: Don't load items unless a p[atron has been chosen on request.pl

This patch moves the code that we sh9ould run if there is no patron to the head
of
the biblio loop. If we have no patron we execute this and go to the next loop.

A few variables that were being passed to the template in the loop are moved
outside - no
reason to overwrite each loop

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

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


More information about the Koha-bugs mailing list