X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDB%2FPart.pm;h=2a74b74c6225bdba0d686a4d5fd07f411e6ac2be;hb=a47155b8430974b25bea606b068cd6ed4f067757;hp=a25b64a74bb3fc6f80bd8aebfd0af6b11a962c1d;hpb=1c62d23ef8305ca67a7cf19f69d4fb2939f972a0;p=kivitendo-erp.git 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); }