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

Nick Clemens <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #128474|0                           |1
        is obsolete|                            |
 Attachment #128475|0                           |1
        is obsolete|                            |
 Attachment #128476|0                           |1
        is obsolete|                            |

--- Comment #29 from Nick Clemens <[email protected]> ---
Created attachment 128971
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=128971&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

Signed-off-by: Samu Heiskanen <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to