Lines 433-439
foreach my $tag (sort keys %{$tagslib}) {
Link Here
|
433 |
foreach my $thisbranch (@$branches) { |
433 |
foreach my $thisbranch (@$branches) { |
434 |
push @authorised_values, $thisbranch->{value}; |
434 |
push @authorised_values, $thisbranch->{value}; |
435 |
$authorised_lib{$thisbranch->{value}} = $thisbranch->{branchname}; |
435 |
$authorised_lib{$thisbranch->{value}} = $thisbranch->{branchname}; |
436 |
# $value = $thisbranch->{value} if $thisbranch->{selected}; |
436 |
# in edit item this is set to the data value otherwise use default |
|
|
437 |
if ($op ne 'edititem' && $thisbranch->{selected} ) { |
438 |
$value = $thisbranch->{value}; |
439 |
} |
437 |
} |
440 |
} |
438 |
} |
441 |
} |
439 |
elsif ( $tagslib->{$tag}->{$subfield}->{authorised_value} eq "itemtypes" ) { |
442 |
elsif ( $tagslib->{$tag}->{$subfield}->{authorised_value} eq "itemtypes" ) { |
440 |
- |
|
|