|
Lines 797-803
sub patron_attributes_form {
Link Here
|
| 797 |
}; |
797 |
}; |
| 798 |
if (exists $attr_hash{$attr_type->code()}) { |
798 |
if (exists $attr_hash{$attr_type->code()}) { |
| 799 |
foreach my $attr (@{ $attr_hash{$attr_type->code()} }) { |
799 |
foreach my $attr (@{ $attr_hash{$attr_type->code()} }) { |
| 800 |
my $newentry = { map { $_ => $entry->{$_} } %$entry }; |
800 |
my $newentry = { %$entry }; |
| 801 |
$newentry->{value} = $attr->{value}; |
801 |
$newentry->{value} = $attr->{value}; |
| 802 |
$newentry->{password} = $attr->{password}; |
802 |
$newentry->{password} = $attr->{password}; |
| 803 |
$newentry->{use_dropdown} = 0; |
803 |
$newentry->{use_dropdown} = 0; |
|
Lines 811-817
sub patron_attributes_form {
Link Here
|
| 811 |
} |
811 |
} |
| 812 |
} else { |
812 |
} else { |
| 813 |
$i++; |
813 |
$i++; |
| 814 |
my $newentry = { map { $_ => $entry->{$_} } %$entry }; |
814 |
my $newentry = { %$entry }; |
| 815 |
if ($attr_type->authorised_value_category()) { |
815 |
if ($attr_type->authorised_value_category()) { |
| 816 |
$newentry->{use_dropdown} = 1; |
816 |
$newentry->{use_dropdown} = 1; |
| 817 |
$newentry->{auth_val_loop} = GetAuthorisedValues($attr_type->authorised_value_category()); |
817 |
$newentry->{auth_val_loop} = GetAuthorisedValues($attr_type->authorised_value_category()); |
| 818 |
- |
|
|