Merge branch 'bug_10088' into 3.14-master
This commit is contained in:
commit
9c79f18317
1 changed files with 5 additions and 1 deletions
|
@ -2709,7 +2709,11 @@ sub PrepareItemrecordDisplay {
|
|||
$authorised_lib{$branchcode} = $branchname;
|
||||
}
|
||||
}
|
||||
$defaultvalue = $defaultvalues->{branchcode} || C4::Context->userenv->{branch};
|
||||
|
||||
$defaultvalue = C4::Context->userenv->{branch};
|
||||
if ( $defaultvalues and $defaultvalues->{branchcode} ) {
|
||||
$defaultvalue = $defaultvalues->{branchcode};
|
||||
}
|
||||
|
||||
#----- itemtypes
|
||||
} elsif ( $tagslib->{$tag}->{$subfield}->{authorised_value} eq "itemtypes" ) {
|
||||
|
|
Loading…
Reference in a new issue