X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/57faab8f922edc190b6909b7626a445423de6676..ba802064109d19f3488e5555ec04491681e37b51:/SL/Controller/Part.pm?ds=inline diff --git a/SL/Controller/Part.pm b/SL/Controller/Part.pm index e64a774a7..d5a7f2a5f 100644 --- a/SL/Controller/Part.pm +++ b/SL/Controller/Part.pm @@ -52,6 +52,7 @@ sub action_ajax_autocomplete { description => $_->description, type => $_->type, unit => $_->unit, + cvars => { map { ($_->config->name => { value => $_->value_as_text, is_valid => $_->is_valid }) } @{ $_->cvars_by_config } }, } } @{ $self->parts }; # neato: if exact match triggers we don't even need the init_parts