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:
6f119b5
)
Bei Sortimenten Sortimentsartikel nach 'position' sortieren
author
Andreas Rudin
<andreas.rudin@revamp-it.ch>
Mon, 20 Apr 2020 11:16:34 +0000
(13:16 +0200)
committer
Andreas Rudin
<andreas.rudin@revamp-it.ch>
Mon, 20 Apr 2020 11:16:34 +0000
(13:16 +0200)
Bisher wurde die Spalte 'position' in der Tabelle assortment_items
ignoriert.
SL/DB/Part.pm
patch
|
blob
|
history
diff --git
a/SL/DB/Part.pm
b/SL/DB/Part.pm
index
f1a7125
..
e98b0c4
100644
(file)
--- a/
SL/DB/Part.pm
+++ b/
SL/DB/Part.pm
@@
-61,6
+61,7
@@
__PACKAGE__->meta->add_relationships(
type => 'one to many',
class => 'SL::DB::AssortmentItem',
column_map => { id => 'assortment_id' },
+ manager_args => { sort_by => 'position' },
},
history_entries => {
type => 'one to many',