X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/df5378aa26b95a28f3f6426b55c6802ebcc240b1..94f556855ab8e7ccdfcdcd7c3e2a6bf722041ebc:/SL/Controller/Part.pm?ds=sidebyside 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 {