X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/9d015fd3a98cdfd59863a7d2908d3887099107a7..6f22c9ac8b5e51a3fc9c8e9a2adb22c46ac77d48:/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',