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

(-)a/Koha/Acquisition/Orders.pm (-3 / +7 lines)
Lines 143-150 sub filter_by_active { Link Here
143
    my ($self) = @_;
143
    my ($self) = @_;
144
    return $self->search(
144
    return $self->search(
145
        {
145
        {
146
            orderstatus => [ 'new', 'ordered', 'partial' ]
146
            '-or' => [
147
        }
147
                { 'basket.is_standing' => 1,
148
                  'orderstatus' => [ 'new', 'ordered', 'partial' ] },
149
                { 'orderstatus' => [ 'ordered', 'partial' ] }
150
            ]
151
        },
152
        { join => 'basket' }
148
    );
153
    );
149
}
154
}
150
155
151
- 

Return to bug 25670