From 20f266d29b94b3ab217420be1f1eb2a9826f3cb6 Mon Sep 17 00:00:00 2001 From: Bernd Blessmann Date: Wed, 1 Feb 2012 13:00:33 +0100 Subject: [PATCH] Die id der delivery_order ist in delivery_order_id bei items, nicht in trans_id --- SL/DB/DeliveryOrder.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/DB/DeliveryOrder.pm b/SL/DB/DeliveryOrder.pm index b65bf3eb6..0a483bfaa 100644 --- a/SL/DB/DeliveryOrder.pm +++ b/SL/DB/DeliveryOrder.pm @@ -12,7 +12,7 @@ use List::Util qw(first); __PACKAGE__->meta->add_relationship(orderitems => { type => 'one to many', class => 'SL::DB::DeliveryOrderItem', - column_map => { id => 'trans_id' }, + column_map => { id => 'delivery_order_id' }, manager_args => { with_objects => [ 'part' ] } }, shipto => { type => 'one to one', -- 2.20.1