From: Jan Büren Date: Tue, 5 Jul 2016 09:40:13 +0000 (+0200) Subject: Backend API-Sortierfunktion in Lieferscheinen verbessert X-Git-Tag: release-3.5.4~2251 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=819758a1dc10086cc6b18efa4df444ab43685b74;p=kivitendo-erp.git Backend API-Sortierfunktion in Lieferscheinen verbessert Bei neuen Position diese auch beim Sortieren mit berücksichtigen. --- diff --git a/bin/mozilla/do.pl b/bin/mozilla/do.pl index 7e3ccb4de..86d2295ed 100644 --- a/bin/mozilla/do.pl +++ b/bin/mozilla/do.pl @@ -1791,7 +1791,7 @@ sub sort { my $form = $main::form; my %temp_hash; - croak ("Delivery Order needs to be saved") unless $form->{id}; + save(no_redirect => 1); # has to be done, at least for newly added positions # hashify partnumbers, positions. key is delivery_order_items_id for my $i (1 .. ($form->{rowcount}) ) {