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

(-)a/opac/opac-reserve.pl (-2 / +1 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 $reserves_control_branch = GetReservesControlBranch( $item->unblessed, $patron->unblessed );
234
            my $reserves_control_branch = Koha::Policy::Holds->holds_control_library( $item, $patron );
235
            my $rule                    = GetBranchItemRule( $reserves_control_branch, $type );
235
            my $rule                    = GetBranchItemRule( $reserves_control_branch, $type );
236
236
237
            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' ) {
238
- 

Return to bug 33074