]> wagnertech.de Git - mfinanz.git/blobdiff - SL/DB/Part.pm
Part makemodels relationship nutzt sortorder
[mfinanz.git] / SL / DB / Part.pm
index f95be9bfd9783e9f56decf00840793b20f0630ac..7fd35d80ef2e0120c4da93560b6c0b4a7219e907 100644 (file)
@@ -32,6 +32,7 @@ __PACKAGE__->meta->add_relationships(
   makemodels     => {
     type         => 'one to many',
     class        => 'SL::DB::MakeModel',
+    manager_args => { sort_by => 'sortorder' },
     column_map   => { id => 'parts_id' },
   },
   translations   => {