From: G. Richardson Date: Sun, 7 Aug 2016 21:08:45 +0000 (+0200) Subject: Part makemodels relationship nutzt sortorder X-Git-Tag: release-3.5.4~1895 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=1663057f67e6dc72fd492d52e5a97b659ec90f63;p=kivitendo-erp.git Part makemodels relationship nutzt sortorder --- diff --git a/SL/DB/Part.pm b/SL/DB/Part.pm index f95be9bfd..7fd35d80e 100644 --- a/SL/DB/Part.pm +++ b/SL/DB/Part.pm @@ -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 => {