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

(-)a/C4/Reserves.pm (-2 / +7 lines)
Lines 796-802 sub CheckReserves { Link Here
796
                    next if ($branchitemrule->{'holdallowed'} == 0);
796
                    next if ($branchitemrule->{'holdallowed'} == 0);
797
                    next if (($branchitemrule->{'holdallowed'} == 1) && ($branch ne $patron->branchcode));
797
                    next if (($branchitemrule->{'holdallowed'} == 1) && ($branch ne $patron->branchcode));
798
                    my $hold_fulfillment_policy = $branchitemrule->{hold_fulfillment_policy};
798
                    my $hold_fulfillment_policy = $branchitemrule->{hold_fulfillment_policy};
799
                    next if ( ($branchitemrule->{hold_fulfillment_policy} ne 'any') && ($res->{branchcode} ne $item->$hold_fulfillment_policy) );
799
                    next
800
                      if $hold_fulfillment_policy ne 'any'
801
                      && (
802
                           $hold_fulfillment_policy eq ''
803
                        || ( $res->{branchcode} ne
804
                            $item->$hold_fulfillment_policy )
805
                      );
800
                    next unless $item->can_be_transferred( { to => scalar Koha::Libraries->find( $res->{branchcode} ) } );
806
                    next unless $item->can_be_transferred( { to => scalar Koha::Libraries->find( $res->{branchcode} ) } );
801
                    $priority = $res->{'priority'};
807
                    $priority = $res->{'priority'};
802
                    $highest  = $res;
808
                    $highest  = $res;
803
- 

Return to bug 23985