]> git.koha-community.org Git - koha.git/commit
Bug 31095: Remove GetDebarments from Circulation.pm
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 24 Aug 2022 15:47:54 +0000 (16:47 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 31 Jan 2023 13:19:38 +0000 (10:19 -0300)
commit0f15a74853b05ea2372a99fce1500ac1b15b5baf
tree868cd5d9dd4c144f0d42535c27cf2d22d0412a00
parente44c5146d367a6c4b76ef5c03446ba34574642ee
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@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
C4/Circulation.pm