]> git.koha-community.org Git - koha.git/commit
Bug 31095: Remove GetDebarments from Patron::Import
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 25 Aug 2022 07:56:54 +0000 (08:56 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 31 Jan 2023 13:19:38 +0000 (10:19 -0300)
commit9ea8cf0a8f5a5a827f1f553923a016811d04de9b
treec39ab5692a3e7c95b7f9c781d7eb8623f84d8fb3
parent445223623378e16c76870acb53d027ac1d41b851
Bug 31095: Remove GetDebarments from Patron::Import

This patch replaced GetDebarments with $patron->restrictions->search in
Koha::Patron::Import.

Test plan
1. Confirm that importing patrons with debarred and debarredcomment
   fields in the import still works 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>
Koha/Patrons/Import.pm