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

David Nind <[email protected]> changed:

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

--- Comment #5 from David Nind <[email protected]> ---
Created attachment 150818
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=150818&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!

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

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
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