Lines 246-253
if ( $query->param('place_reserve') ) {
Link Here
|
246 |
my $type = $item->effective_itemtype; |
246 |
my $type = $item->effective_itemtype; |
247 |
my $rule = GetBranchItemRule( $patron->branchcode, $type ); |
247 |
my $rule = GetBranchItemRule( $patron->branchcode, $type ); |
248 |
|
248 |
|
249 |
if ( $rule->{hold_fulfillment_policy} eq 'any' ) { |
249 |
if ( $rule->{hold_fulfillment_policy} eq 'any' || $rule->{hold_fulfillment_policy} eq 'patrongroup' ) { |
250 |
$branch = $patron->branchcode; |
250 |
$branch = $patron->branchcode; |
|
|
251 |
} elsif ( $rule->{hold_fulfillment_policy} eq 'holdgroup' ){ |
252 |
$branch = $item->homebranch; |
251 |
} else { |
253 |
} else { |
252 |
my $policy = $rule->{hold_fulfillment_policy}; |
254 |
my $policy = $rule->{hold_fulfillment_policy}; |
253 |
$branch = $item->$policy; |
255 |
$branch = $item->$policy; |
254 |
- |
|
|