From 1663057f67e6dc72fd492d52e5a97b659ec90f63 Mon Sep 17 00:00:00 2001 From: "G. Richardson" Date: Sun, 7 Aug 2016 23:08:45 +0200 Subject: [PATCH] Part makemodels relationship nutzt sortorder --- SL/DB/Part.pm | 1 + 1 file changed, 1 insertion(+) 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 => { -- 2.20.1