[Koha-bugs] [Bug 31095] Remove Koha::Patron::Debarment::GetDebarments and use $patron->restrictions in preference

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Sep 16 18:09:24 CEST 2022


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

--- Comment #41 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 140723
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=140723&action=edit
Bug 31095: Remove GetDebarments from Circulation.pm

This patch removes GetDebarments from Circulation.pm replacing them with
calls to $patron->restrictions and filtering using a chained search
call.

Test plan
1. Confirm that t/db_dependant/Circulation.t continues to pass

Signed-off-by: Nick Clemens <nick at bywatersolutions.com>

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


More information about the Koha-bugs mailing list