From: Sven Schöling Date: Wed, 17 Sep 2014 15:35:51 +0000 (+0200) Subject: MakeModel: ActsAsList X-Git-Tag: release-3.2.0beta~310 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=d59c9877815df62d1bf35999b58cb2752881458c;p=kivitendo-erp.git MakeModel: ActsAsList --- diff --git a/SL/DB/MakeModel.pm b/SL/DB/MakeModel.pm index a99f64eb6..f94cd0ab6 100644 --- a/SL/DB/MakeModel.pm +++ b/SL/DB/MakeModel.pm @@ -6,6 +6,7 @@ package SL::DB::MakeModel; use strict; use SL::DB::MetaSetup::MakeModel; +use SL::DB::Helper::ActsAsList (column_name => 'sortorder', group_by => [ qw(parts_id) ]); __PACKAGE__->meta->initialize;