[Koha-bugs] [Bug 33691] Improve query for do_check_for_previous_checkout

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri May 5 19:57:26 CEST 2023


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

Kyle M Hall <kyle at bywatersolutions.com> changed:

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

--- Comment #2 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 150783
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=150783&action=edit
Bug 33691: Improve query for do_check_for_previous_checkout

do_check_for_previous_checkout will pass a list of itemnumbers as part of the
query. This could be hundreds of items or more. It makes sense to check by
biblionumber instead when possible.

Test Plan:
1) prove t/db_dependent/Patron/Borrower_PrevCheckout.t
2) Apply this patch
3) prove t/db_dependent/Patron/Borrower_PrevCheckout.t
4) Test still pass!

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


More information about the Koha-bugs mailing list