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

(-)a/C4/Reserves.pm (-2 / +1 lines)
Lines 902-908 sub CheckReserves { Link Here
902
                    my $branch = GetReservesControlBranch( $item->unblessed, $patron->unblessed );
902
                    my $branch = GetReservesControlBranch( $item->unblessed, $patron->unblessed );
903
                    my $branchitemrule = C4::Circulation::GetBranchItemRule($branch,$item->effective_itemtype);
903
                    my $branchitemrule = C4::Circulation::GetBranchItemRule($branch,$item->effective_itemtype);
904
                    next if ($branchitemrule->{'holdallowed'} eq 'not_allowed');
904
                    next if ($branchitemrule->{'holdallowed'} eq 'not_allowed');
905
                    next if (($branchitemrule->{'holdallowed'} eq 'from_home_library') && ($branch ne $patron->branchcode));
905
                    next if (($branchitemrule->{'holdallowed'} eq 'from_home_library') && ($item->homebranch ne $patron->branchcode));
906
                    my $library = Koha::Libraries->find({branchcode=>$item->homebranch});
906
                    my $library = Koha::Libraries->find({branchcode=>$item->homebranch});
907
                    next if (($branchitemrule->{'holdallowed'} eq 'from_local_hold_group') && (!$library->validate_hold_sibling({branchcode => $patron->branchcode}) ));
907
                    next if (($branchitemrule->{'holdallowed'} eq 'from_local_hold_group') && (!$library->validate_hold_sibling({branchcode => $patron->branchcode}) ));
908
                    my $hold_fulfillment_policy = $branchitemrule->{hold_fulfillment_policy};
908
                    my $hold_fulfillment_policy = $branchitemrule->{hold_fulfillment_policy};
909
- 

Return to bug 28503