projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Part makemodels relationship nutzt sortorder
[kivitendo-erp.git]
/
SL
/
DB
/
Part.pm
diff --git
a/SL/DB/Part.pm
b/SL/DB/Part.pm
index
f95be9b
..
7fd35d8
100644
(file)
--- 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 => {