fehlerhafte manager_args für do -> do_items
authorSven Schöling <s.schoeling@linet-services.de>
Tue, 13 Mar 2012 18:57:40 +0000 (19:57 +0100)
committerSven Schöling <s.schoeling@linet-services.de>
Tue, 13 Mar 2012 19:01:52 +0000 (20:01 +0100)
SL/DB/DeliveryOrder.pm

index 0a483bf..11f718f 100644 (file)
@@ -13,7 +13,7 @@ use List::Util qw(first);
 __PACKAGE__->meta->add_relationship(orderitems => { type         => 'one to many',
                                                     class        => 'SL::DB::DeliveryOrderItem',
                                                     column_map   => { id => 'delivery_order_id' },
-                                                    manager_args => { with_objects => [ 'part' ] }
+                                                    manager_args => { with_objects => [ 'parts' ] }
                                                   },
                                     shipto => { type       => 'one to one',
                                                 class      => 'SL::DB::Shipto',