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 commit 8a328a20bf)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
dcda5a4dc5
commit
111ab4e632
|
|
@ -148,7 +148,7 @@ if ( $op eq 'show' ) {
|
|||
# Construct drop-down list values
|
||||
my $branches = Koha::Libraries->search({}, { order_by => ['branchname'] })->unblessed;
|
||||
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_option;
|
||||
push @categories_option, { value => $_->categorycode, lib => $_->description } for @patron_categories;
|
||||
|
|
|
|||
Loading…
Reference in New Issue