From: Bernd Bleßmann Date: Fri, 29 Mar 2019 15:18:29 +0000 (+0100) Subject: OrderItem-Manager: Sortierung: runningnumber gibt es nicht -> position X-Git-Tag: release-3.5.4~79 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=405928eb48c94072a7de854f682853a8971b7eb4;p=kivitendo-erp.git OrderItem-Manager: Sortierung: runningnumber gibt es nicht -> position --- diff --git a/SL/DB/Manager/OrderItem.pm b/SL/DB/Manager/OrderItem.pm index 1945a0b44..379e1fdb7 100644 --- a/SL/DB/Manager/OrderItem.pm +++ b/SL/DB/Manager/OrderItem.pm @@ -34,7 +34,7 @@ sub _sort_spec { qty => [ 'qty' ], ordnumber => [ 'order.ordnumber' ], customer => [ 'lower(customer.name)', ], - position => [ 'trans_id', 'runningnumber' ], + position => [ 'trans_id', 'position' ], reqdate => [ 'COALESCE(orderitems.reqdate, order.reqdate)' ], orddate => [ 'order.orddate' ], sellprice => [ 'orderitems.sellprice' ],