Bug 27413: Restore debarred and debarredcomment to batch patron mod tools
It was added by bug 13552 but removed by 19793. Test plan: Update patron in a batch and confirm that you can modify the restriction expiration and comment. Signed-off-by: Joonas Kylmälä <joonas.kylmala@helsinki.fi> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
63c49e1f89
commit
85ae9bd021
|
|
@ -321,7 +321,7 @@ if ( $op eq 'do' ) {
|
|||
|
||||
my @disabled = $input->multi_param('disable_input');
|
||||
my $infos;
|
||||
for my $field ( qw/surname firstname branchcode categorycode streetnumber address address2 city state zipcode country email phone mobile sort1 sort2 dateenrolled dateexpiry borrowernotes opacnote/ ) {
|
||||
for my $field ( qw/surname firstname branchcode categorycode streetnumber address address2 city state zipcode country email phone mobile sort1 sort2 dateenrolled dateexpiry borrowernotes opacnote debarred debarredcomment/ ) {
|
||||
my $value = $input->param($field);
|
||||
$infos->{$field} = $value if $value;
|
||||
$infos->{$field} = "" if grep { $_ eq $field } @disabled;
|
||||
|
|
|
|||
Loading…
Reference in New Issue