projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a99ac2d
)
SL::DB::Part: displayable_name als Alias für long_description
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Tue, 17 Feb 2015 12:36:01 +0000
(13:36 +0100)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Tue, 17 Feb 2015 14:29:46 +0000
(15:29 +0100)
Für einfachere Verwendung mit anderen Objekten wie ::Customer und
::Vendor.
SL/DB/Part.pm
patch
|
blob
|
history
diff --git
a/SL/DB/Part.pm
b/SL/DB/Part.pm
index
2a74b74
..
e4148ba
100644
(file)
--- a/
SL/DB/Part.pm
+++ b/
SL/DB/Part.pm
@@
-209,6
+209,8
@@
sub displayable_name {
join ' ', grep $_, map $_[0]->$_, qw(partnumber description);
}
+sub displayable_name { goto &long_description; }
+
1;
__END__