View | Details | Raw Unified | Return to bug 17884
Collapse All | Expand All

(-)a/C4/Reserves.pm (-2 / +1 lines)
Lines 973-979 sub CheckReserves { Link Here
973
                    $borrowerinfo ||= C4::Members::GetMember( borrowernumber => $res->{'borrowernumber'} );
973
                    $borrowerinfo ||= C4::Members::GetMember( borrowernumber => $res->{'borrowernumber'} );
974
                    my $branch = GetReservesControlBranch( $iteminfo, $borrowerinfo );
974
                    my $branch = GetReservesControlBranch( $iteminfo, $borrowerinfo );
975
                    my $branchitemrule = C4::Circulation::GetBranchItemRule($branch,$iteminfo->{'itype'});
975
                    my $branchitemrule = C4::Circulation::GetBranchItemRule($branch,$iteminfo->{'itype'});
976
                    next if ($branchitemrule->{'holdallowed'} == 0);
976
                    next if ($branchitemrule->{'holdallowed'} == 0 && !C4::Context->preference('AllowHoldPolicyOverride'));
977
                    next if (($branchitemrule->{'holdallowed'} == 1) && ($branch ne $borrowerinfo->{'branchcode'}));
977
                    next if (($branchitemrule->{'holdallowed'} == 1) && ($branch ne $borrowerinfo->{'branchcode'}));
978
                    next if ( ($branchitemrule->{hold_fulfillment_policy} ne 'any') && ($res->{branchcode} ne $iteminfo->{ $branchitemrule->{hold_fulfillment_policy} }) );
978
                    next if ( ($branchitemrule->{hold_fulfillment_policy} ne 'any') && ($res->{branchcode} ne $iteminfo->{ $branchitemrule->{hold_fulfillment_policy} }) );
979
                    $priority = $res->{'priority'};
979
                    $priority = $res->{'priority'};
980
- 

Return to bug 17884