diff options
-rwxr-xr-x | buglist.cgi | 9 | ||||
-rwxr-xr-x | query.cgi | 1 |
2 files changed, 10 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"; @@ -890,6 +890,7 @@ my @types = ( ["nowords", "none of the words"], ["changedbefore", "changed before"], ["changedafter", "changed after"], + ["changedfrom", "changed from"], ["changedto", "changed to"], ["changedby", "changed by"], ); |