X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/ac6d3a20575e77752a9ed40fb1dd39f675a22c10..b720e272:/SL/DB/Part.pm diff --git a/SL/DB/Part.pm b/SL/DB/Part.pm index a25b64a74..2a74b74c6 100644 --- a/SL/DB/Part.pm +++ b/SL/DB/Part.pm @@ -205,7 +205,7 @@ sub get_simple_stock { sub bin { require SL::DB::Bin; SL::DB::Manager::Bin ->find_by_or_create(id => $_[0]->{bin_id}) } } -sub long_description { +sub displayable_name { join ' ', grep $_, map $_[0]->$_, qw(partnumber description); }