[Koha-bugs] [Bug 23403] SIP2 lends to wrong patron if cardnumber is missing

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jul 31 15:28:51 CEST 2019


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

--- Comment #2 from Magnus Enger <magnus at libriotech.no> ---
Possible solution: 

In C4::SIP::ILS::Transaction::Checkout::do_checkout(), find the patron based on
either cardnumber or userid (similar to how C4::SIP::ILS::Patron::new() does
it).

Or is doing Koha::Patrons->find twice for each checkout just plain wrong and we
should be passing the patron object around instead?

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


More information about the Koha-bugs mailing list