summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Template.pm
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-05-15 04:47:34 +0200
committerlpsolit%gmail.com <>2006-05-15 04:47:34 +0200
commit0b47dd2c3b8edd338acae76ca5579b84efb7e4f8 (patch)
tree8bebc5de5a9da8b8cfbfbc578957f4080e0a5f3a /Bugzilla/Template.pm
parenteef25b6c577264809484f0e82ea81a396cd2536c (diff)
downloadbugzilla-0b47dd2c3b8edd338acae76ca5579b84efb7e4f8.tar.gz
bugzilla-0b47dd2c3b8edd338acae76ca5579b84efb7e4f8.tar.xz
Bug 137751: Linkify bug numbers in dependency fields on show_activity.cgi - Patch by David D. Kilzer (ddk) <ddkilzer@kilzer.net> and timeless <timeless@bemail.org> r=wicked a=justdave
Diffstat (limited to 'Bugzilla/Template.pm')
-rw-r--r--Bugzilla/Template.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/Bugzilla/Template.pm b/Bugzilla/Template.pm
index edfc037c6..5cf9bce9c 100644
--- a/Bugzilla/Template.pm
+++ b/Bugzilla/Template.pm
@@ -642,6 +642,12 @@ sub create {
1
],
+ bug_list_link => sub
+ {
+ my $buglist = shift;
+ return join(", ", map(get_bug_link($_, $_), split(/ *, */, $buglist)));
+ },
+
# In CSV, quotes are doubled, and any value containing a quote or a
# comma is enclosed in quotes.
csv => sub