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

--- Comment #13 from Aleisha Amohia <[email protected]> ---
Created attachment 203691
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=203691&action=edit
Bug 42700: Avoid duplicate holds query query when building SIP patron object

This patch fetches the patron's holds once into a list of
Koha::Hold objects and derives both hold_items and unavail_holds
from that single fetch.

Test Plan:
1) Apply this patch
2) prove t/db_dependent/SIP/
3) Note all tests pass!

Signed-off-by: David Nind <[email protected]>
Signed-off-by: Aleisha Amohia <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to