Bug 19073: (bug 15758 follow-up) Dereference correct value from Koha::Object.
* tools/modborrowers.pl: Dereference 'branchcode' rather than 'value'. Test Plan: - Carry out "Batch patron modification" with any number of patrons. + Change the library. + Hit Save. - The library will not have been updated. - Apply patch. - Run same modification. - The library will have been updated Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> (cherry picked from commit8a328a20bf) Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com> (cherry picked from commit111ab4e632) Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
This commit is contained in:
parent
8c85724700
commit
9bcd719faa
|
|
@ -146,7 +146,7 @@ if ( $op eq 'show' ) {
|
|||
# Construct drop-down list values
|
||||
my $branches = GetBranchesLoop;
|
||||
my @branches_option;
|
||||
push @branches_option, { value => $_->{value}, lib => $_->{branchname} } for @$branches;
|
||||
push @branches_option, { value => $_->{branchcode}, lib => $_->{branchname} } for @$branches;
|
||||
unshift @branches_option, { value => "", lib => "" };
|
||||
my $categories = GetBorrowercategoryList;
|
||||
my @categories_option;
|
||||
|
|
|
|||
Loading…
Reference in New Issue