projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5fbf5a
)
MakeModel: ActsAsList
author
Sven Schöling
<s.schoeling@linet-services.de>
Wed, 17 Sep 2014 15:35:51 +0000
(17:35 +0200)
committer
Sven Schöling
<s.schoeling@linet-services.de>
Wed, 17 Sep 2014 15:35:51 +0000
(17:35 +0200)
SL/DB/MakeModel.pm
patch
|
blob
|
history
diff --git
a/SL/DB/MakeModel.pm
b/SL/DB/MakeModel.pm
index
a99f64e
..
f94cd0a
100644
(file)
--- 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;