|
Lines 148-154
if ( $op eq 'show' ) {
Link Here
|
| 148 |
# Construct drop-down list values |
148 |
# Construct drop-down list values |
| 149 |
my $branches = Koha::Libraries->search({}, { order_by => ['branchname'] })->unblessed; |
149 |
my $branches = Koha::Libraries->search({}, { order_by => ['branchname'] })->unblessed; |
| 150 |
my @branches_option; |
150 |
my @branches_option; |
| 151 |
push @branches_option, { value => $_->{value}, lib => $_->{branchname} } for @$branches; |
151 |
push @branches_option, { value => $_->{branchcode}, lib => $_->{branchname} } for @$branches; |
| 152 |
unshift @branches_option, { value => "", lib => "" }; |
152 |
unshift @branches_option, { value => "", lib => "" }; |
| 153 |
my @categories_option; |
153 |
my @categories_option; |
| 154 |
push @categories_option, { value => $_->categorycode, lib => $_->description } for @patron_categories; |
154 |
push @categories_option, { value => $_->categorycode, lib => $_->description } for @patron_categories; |
| 155 |
- |
|
|