Browse Source

Bug 29283: (QA follow-up) Remove code duplication

We have already a search filter for active orders.

Signed-off-by: Joonas Kylmälä <joonas.kylmala@iki.fi>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
21.11.x
Joonas Kylmälä 3 months ago
committed by Jonathan Druart
parent
commit
5095e0a954
  1. 4
      acqui/basket.pl

4
acqui/basket.pl

@ -127,9 +127,7 @@ if ( $op eq 'delete_confirm' ) {
my $delbiblio = $query->param('delbiblio');
my $basket_obj = Koha::Acquisition::Baskets->find($basketno);
my $orders = $basket_obj->orders->search({
datecancellationprinted => undef
});
my $orders = $basket_obj->orders->filter_by_current;
my @cannotdelbiblios;

Loading…
Cancel
Save