After a book is marked lost and is billed to the patrons account and the book is seen again as a new checkout (it was not checked in) it does not take the bill off the patrons account. However when you check in the book it does take the bill off the patron's account. Whenever a book whose status is "Lost" is seen in the system again either through checkout, holds, ect... it should update the last borrowers account and book status.
Confirmed that even after 5533 is applied, this is still broken.
Created attachment 7421 [details] [review] Add call to _FixAccountForLostAndReturned from AddIssue
Created attachment 7422 [details] [review] Bug 6490 - Lost and paid not updated when book is checked out. Signed-off-by: Liz Rea <wizzyrea@gmail.com> Tested: item checked out and marked lost - item is removed from borrower's checkouts and charged to patron Checking out the item (without checking it in first) removed the fines and issued the item normally. Passed prove t xt t/db_dependent (results congruent with current master failures)
QA comment: tiny patch, respect coding guidelines
This fix was included in the 3.6.x branch prior to 3.6.4.