@@ -, +, @@ - have a basket with at least one order - click "Cancel order and delete catalog record", confirm cancellation of order and deletion of bib - click "Delete basket", confirm deletion - get error "Cannot insert order: Mandatory parameter biblionumber is missing at /kohadevbox/koha/acqui/basket.pl line 136. at /usr/share/perl/5.28/Carp.pm line 289" - apply patch - restart - delete the basket - success! --- acqui/basket.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) --- a/acqui/basket.pl +++ a/acqui/basket.pl @@ -127,7 +127,9 @@ if ( $op eq 'delete_confirm' ) { my $delbiblio = $query->param('delbiblio'); my $basket_obj = Koha::Acquisition::Baskets->find($basketno); - my $orders = $basket_obj->orders; + my $orders = $basket_obj->orders->search({ + datecancellationprinted => undef + }); my @cannotdelbiblios; --