Bug 6363 : Make the "Item Location" selectbox appears correctly in inventory.pl
The "Item Location" selectbox didn't appear when the only available MARC framework was the default framework. Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
This commit is contained in:
parent
f7d2379764
commit
2bdd8ebd1e
|
|
@ -77,6 +77,8 @@ my @authorised_value_list;
|
|||
my $authorisedvalue_categories = '';
|
||||
|
||||
my $frameworks = getframeworks();
|
||||
$frameworks->{''} = {frameworkcode => ''}; # Add the default framework
|
||||
|
||||
for my $fwk (keys %$frameworks){
|
||||
my $fwkcode = $frameworks->{$fwk}->{'frameworkcode'};
|
||||
my $authcode = GetAuthValCode('items.location', $fwkcode);
|
||||
|
|
|
|||
Loading…
Reference in New Issue