X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/9d015fd3a98cdfd59863a7d2908d3887099107a7..5012e90c3dcec9566b23ee93f71bf78a30c9f35d:/SL/Controller/Part.pm diff --git a/SL/Controller/Part.pm b/SL/Controller/Part.pm index c8b0c311b..6b76252cc 100644 --- a/SL/Controller/Part.pm +++ b/SL/Controller/Part.pm @@ -50,6 +50,7 @@ sub action_ajax_autocomplete { partnumber => $_->partnumber, description => $_->description, type => $_->type, + unit => $_->unit, } } @{ $self->parts }; # neato: if exact match triggers we don't even need the init_parts @@ -79,7 +80,6 @@ sub init_models { SL::Controller::Helper::GetModels->new( controller => $self, - model => 'Part', sorted => { _default => { by => 'partnumber',