X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/1c62d23ef8305ca67a7cf19f69d4fb2939f972a0..e4e46bf6a2e8b8d11106b264d0f181a37763a472:/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); }