projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Warengruppen - Umstellung auf Controller, sortkey, obsolete
[kivitendo-erp.git]
/
SL
/
Controller
/
Part.pm
diff --git
a/SL/Controller/Part.pm
b/SL/Controller/Part.pm
index
2741370
..
9458a83
100644
(file)
--- a/
SL/Controller/Part.pm
+++ b/
SL/Controller/Part.pm
@@
-872,7
+872,8
@@
sub init_all_languages {
}
sub init_all_partsgroups {
- SL::DB::Manager::PartsGroup->get_all_sorted;
+ my ($self) = @_;
+ SL::DB::Manager::PartsGroup->get_all_sorted(query => [ or => [ id => $self->part->partsgroup_id, obsolete => 0 ] ]);
}
sub init_all_buchungsgruppen {