X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/88b407e827a4129cdae84bd92d11cd3e8a145987..9c785acd332352877abd90cd0c79a2fa1ef214a1:/SL/Controller/Part.pm diff --git a/SL/Controller/Part.pm b/SL/Controller/Part.pm index 27413706c..9458a83f3 100644 --- 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 {