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

(-)a/opac/opac-reserve.pl (-2 / +2 lines)
Lines 231-237 if ( $query->param('place_reserve') ) { Link Here
231
        # When choosing a specific item, the default pickup library should be dictated by the default hold policy
231
        # When choosing a specific item, the default pickup library should be dictated by the default hold policy
232
        if ( ! C4::Context->preference("OPACAllowUserToChooseBranch") && $item ) {
232
        if ( ! C4::Context->preference("OPACAllowUserToChooseBranch") && $item ) {
233
            my $type = $item->effective_itemtype;
233
            my $type = $item->effective_itemtype;
234
            my $rule = GetBranchItemRule( $patron->branchcode, $type );
234
            my $reserves_control_branch = GetReservesControlBranch($item->unblessed, $patron->unblessed);
235
            my $rule = GetBranchItemRule( $reserves_control_branch, $type );
235
236
236
            if ( $rule->{hold_fulfillment_policy} eq 'any' || $rule->{hold_fulfillment_policy} eq 'patrongroup' ) {
237
            if ( $rule->{hold_fulfillment_policy} eq 'any' || $rule->{hold_fulfillment_policy} eq 'patrongroup' ) {
237
                $branch = $patron->branchcode;
238
                $branch = $patron->branchcode;
238
- 

Return to bug 33074