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

(-)a/Koha/Acquisition/Orders.pm (-1 / +1 lines)
Lines 113-118 sub filter_by_lates { Link Here
113
            ( @delivery_time_conditions ? ( -and => \@delivery_time_conditions ) : ()),
113
            ( @delivery_time_conditions ? ( -and => \@delivery_time_conditions ) : ()),
114
            (
114
            (
115
                C4::Context->preference('IndependentBranches')
115
                C4::Context->preference('IndependentBranches')
116
                  && defined(C4::Context->userenv)
116
                  && !C4::Context->IsSuperLibrarian
117
                  && !C4::Context->IsSuperLibrarian
117
                ? ( 'borrower.branchcode' => C4::Context->userenv->{branch} )
118
                ? ( 'borrower.branchcode' => C4::Context->userenv->{branch} )
118
                : ()
119
                : ()
119
- 

Return to bug 20125