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:
3692221
)
Part makemodels relationship nutzt sortorder
author
G. Richardson
<information@kivitendo-premium.de>
Sun, 7 Aug 2016 21:08:45 +0000
(23:08 +0200)
committer
G. Richardson
<information@kivitendo-premium.de>
Tue, 22 Nov 2016 13:42:49 +0000
(14:42 +0100)
SL/DB/Part.pm
patch
|
blob
|
history
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 => {