]> wagnertech.de Git - mfinanz.git/blobdiff - SL/DB/Part.pm
WebshopApi: Part prices relationship - pricegroup mit laden
[mfinanz.git] / SL / DB / Part.pm
index c2cb641ae98bd97647828b823cea05c9f1fae9f6..6ce6ed5b70447fce9662ca7b51916928c02dd921 100644 (file)
@@ -29,6 +29,7 @@ __PACKAGE__->meta->add_relationships(
     type         => 'one to many',
     class        => 'SL::DB::Price',
     column_map   => { id => 'parts_id' },
+    manager_args => { with_objects => [ 'pricegroup' ] }
   },
   makemodels     => {
     type         => 'one to many',