[Koha-bugs] [Bug 17741] Use Koha::Patron->holds in Koha::Patron->delete

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Dec 7 17:35:21 CET 2016


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

--- Comment #1 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 58022
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=58022&action=edit
Bug 17741: Use Koha::Patron->holds when deleting a patron

There is a TODO in Koha::Patron->delete, this method should call the
Koha::Patron->holds to retrieve the holds made by the patron we are
removing instead of calling Koha::Holds->search

Test plan:
  prove t/db_dependent/Koha/Patrons.t
Should return green

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


More information about the Koha-bugs mailing list