Lines 150-156
sub generate_subfield_form {
Link Here
|
150 |
foreach my $thisbranch (@$branches) { |
150 |
foreach my $thisbranch (@$branches) { |
151 |
push @authorised_values, $thisbranch->{value}; |
151 |
push @authorised_values, $thisbranch->{value}; |
152 |
$authorised_lib{$thisbranch->{value}} = $thisbranch->{branchname}; |
152 |
$authorised_lib{$thisbranch->{value}} = $thisbranch->{branchname}; |
153 |
$value = $thisbranch->{value} if $thisbranch->{selected}; |
153 |
$value = $thisbranch->{value} if $thisbranch->{selected} && !$value; |
154 |
} |
154 |
} |
155 |
} |
155 |
} |
156 |
elsif ( $subfieldlib->{authorised_value} eq "itemtypes" ) { |
156 |
elsif ( $subfieldlib->{authorised_value} eq "itemtypes" ) { |
157 |
- |
|
|