projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f16206
)
Backend API-Sortierfunktion in Lieferscheinen verbessert
author
Jan Büren
<jan@kivitendo-premium.de>
Tue, 5 Jul 2016 09:40:13 +0000
(11:40 +0200)
committer
Jan Büren
<jan@kivitendo-premium.de>
Tue, 5 Jul 2016 15:37:43 +0000
(17:37 +0200)
Bei neuen Position diese auch beim Sortieren mit berücksichtigen.
bin/mozilla/do.pl
patch
|
blob
|
history
diff --git
a/bin/mozilla/do.pl
b/bin/mozilla/do.pl
index
7e3ccb4
..
86d2295
100644
(file)
--- 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}) ) {