Bug 26940: don't reset debarredcomment on patron update
authorDidier Gautheron <didier.gautheron@biblibre.com>
Thu, 5 Nov 2020 14:04:41 +0000 (15:04 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 21 Apr 2021 08:47:45 +0000 (10:47 +0200)
commit3b9f1e1560d4cf565f48a4cd09d048b2ee38689e
tree3657d9db1f01c258a398047c2043458bf28d712e
parentd82684a328fd4a6d11bd6b414536ee4c05642f0e
Bug 26940: don't reset debarredcomment on patron update

Test plan:
1) Create a patron
2) In koha/members/moremember.pl add a manual restriction, with comment foobar
3) try to checkout, you have a message like
    Restricted: Patron's account is restricted with the explanation:
      foobar
4) Got to Edit patron, save
5) try to checkout, foobar is no more
    Restricted: Patron's account is restricted with the explanation:
6) Apply patch
7) Redo 1-4
8) try to checkout, foobar is there.

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katariina Hanhisalo <katariina.hanhisalo@xamk.fi>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
members/memberentry.pl