]> 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)
committerMatt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Wed, 1 Feb 2023 15:37:28 +0000 (15:37 +0000)
commit7c8b170ddb2cff16687c5667e5a1361875a5946e
tree94452ee0d86f75c2f884c00aa78ef26e44c81483
parent1d6c3d29b1294d81449572bd31301dd4c627a382
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>
(cherry picked from commit 9ea8cf0a8f5a5a827f1f553923a016811d04de9b)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Koha/Patrons/Import.pm