transdate Sortierung bei OrderItem war nicht eindeutig
authorSven Schöling <s.schoeling@linet-services.de>
Fri, 1 Feb 2013 15:04:08 +0000 (16:04 +0100)
committerSven Schöling <s.schoeling@linet-services.de>
Fri, 1 Feb 2013 15:04:08 +0000 (16:04 +0100)
SL/DB/Manager/OrderItem.pm

index 000369e..e908b6b 100644 (file)
@@ -24,7 +24,7 @@ sub _sort_spec {
                         orddate       => [ 'order.orddate' ],
                         sellprice     => [ 'sellprice' ],
                         discount      => [ 'discount' ],
-                        transdate     => [ 'transdate::date', 'order.reqdate' ],
+                        transdate     => [ 'orderitems.transdate::date', 'order.reqdate' ],
                       },
            default => [ 'position', 1 ],
            nulls   => { }