Bug 31095: Remove GetDebarments from tools/modborrowers.pl
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 24 Aug 2022 15:30:43 +0000 (16:30 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 31 Jan 2023 13:19:37 +0000 (10:19 -0300)
commite44c5146d367a6c4b76ef5c03446ba34574642ee
tree93cede1d5d530381766b423c9a9b9ae276a92af8
parent700bff51e97619ce3b6266b5b590736006814437
Bug 31095: Remove GetDebarments from tools/modborrowers.pl

This patch removes GetDebarments from the modborrowers tool controller
and replaces it with $patron->restrictions as appropriate.

Test plan
1. Confirm that the 'Batch patron modification' tool pages still load
   and perform as expected.

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>
tools/modborrowers.pl