From 819758a1dc10086cc6b18efa4df444ab43685b74 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20B=C3=BCren?= Date: Tue, 5 Jul 2016 11:40:13 +0200 Subject: [PATCH] Backend API-Sortierfunktion in Lieferscheinen verbessert MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Bei neuen Position diese auch beim Sortieren mit berücksichtigen. --- bin/mozilla/do.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}) ) { -- 2.20.1