Merge branch 'bug_5801' into 3.12-master
This commit is contained in:
commit
5418ce2d05
|
|
@ -490,7 +490,7 @@ foreach my $biblioNum (@biblionumbers) {
|
|||
# If there is no loan, return and transfer, we show a checkbox.
|
||||
$itemLoopIter->{notforloan} = $itemLoopIter->{notforloan} || 0;
|
||||
|
||||
my $branch = C4::Circulation::_GetCircControlBranch($itemLoopIter, $borr);
|
||||
my $branch = ( C4::Context->preference('ReservesControlBranch') eq 'ItemHomeLibrary' ) ? $itemInfo->{'homebranch'} : $borr->{'branchcode'};
|
||||
|
||||
my $branchitemrule = GetBranchItemRule( $branch, $itemInfo->{'itype'} );
|
||||
my $policy_holdallowed = 1;
|
||||
|
|
|
|||
Loading…
Reference in New Issue