aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormyk%mozilla.org <>2001-10-13 03:25:55 +0000
committermyk%mozilla.org <>2001-10-13 03:25:55 +0000
commit9efb4a4102cc96f1f2d3cdfdec3b0158e15b2622 (patch)
tree604d76da8c893e90736a0386a6665b4b240464fa /buglist.cgi
parentBacking out Gerv's checkin for bug 71840. Per the bug report, it did not hav... (diff)
downloadbugzilla-9efb4a4102cc96f1f2d3cdfdec3b0158e15b2622.tar.gz
bugzilla-9efb4a4102cc96f1f2d3cdfdec3b0158e15b2622.tar.bz2
bugzilla-9efb4a4102cc96f1f2d3cdfdec3b0158e15b2622.zip
Fix for bug 91486: Add "changed from" option to the boolean chart.
Patch by Stephen Lee <slee@uk.bnsmc.com>. r=myk@mozilla.org
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-xbuglist.cgi9
1 files changed, 9 insertions, 0 deletions
diff --git a/buglist.cgi b/buglist.cgi
index 42ddee9b8..c2eff0055 100755
--- a/buglist.cgi
+++ b/buglist.cgi
@@ -577,6 +577,15 @@ sub GenerateSQL {
push(@wherepart, "$table.fieldid = $ftable.fieldid");
$term = "($ftable.name = '$f' AND $table.bug_when > $q)";
},
+ ",changedfrom" => sub {
+ my $table = "act_$chartid";
+ my $ftable = "fielddefs_$chartid";
+ push(@supptables, "bugs_activity $table");
+ push(@supptables, "fielddefs $ftable");
+ push(@wherepart, "$table.bug_id = bugs.bug_id");
+ push(@wherepart, "$table.fieldid = $ftable.fieldid");
+ $term = "($ftable.name = '$f' AND $table.removed = $q)";
+ },
",changedto" => sub {
my $table = "act_$chartid";
my $ftable = "fielddefs_$chartid";