Bug 23681: Clean up on delete
authorAndrew Isherwood <andrew.isherwood@ptfs-europe.com>
Thu, 3 Oct 2019 14:14:12 +0000 (15:14 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Thu, 25 Aug 2022 11:41:02 +0000 (08:41 -0300)
commitbcb1931357f38b0147e59c4c08542404a6db37c2
tree129e10172c642e26fbe13ec498c53750180d4399
parenta8448041ba32ae4a1624a611ea12bf615f851524
Bug 23681: Clean up on delete

When a patron restriction type is deleted, any debarments that use that
type need to revert to the default type, this patch implements this
behaviour

Sponsored-by: Loughborough University
Signed-off-by: Benjamin Veasey <B.T.Veasey@lboro.ac.uk>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/RestrictionType.pm
Koha/RestrictionTypes.pm