summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2008-02-28 19:26:32 +0100
committerlpsolit%gmail.com <>2008-02-28 19:26:32 +0100
commitdc850794210056ff806b21c57149be7c7662be8c (patch)
treef4d531fd71b6d92e2add9bf7d5821423e87d4306 /Bugzilla
parent8536f7e38f89d281b2c018459481ca5910193868 (diff)
downloadbugzilla-dc850794210056ff806b21c57149be7c7662be8c.tar.gz
bugzilla-dc850794210056ff806b21c57149be7c7662be8c.tar.xz
Fixing bug 418068 for real. The previous patch was broken. Patch by Jesse Clark <jjclark1982@gmail.com> r=mkanat
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/Search.pm14
1 files changed, 7 insertions, 7 deletions
diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm
index 7d2d20e1d..252813a06 100644
--- a/Bugzilla/Search.pm
+++ b/Bugzilla/Search.pm
@@ -1226,15 +1226,15 @@ sub _long_desc_changedbefore_after {
my $self = shift;
my %func_args = @_;
my ($chartid, $t, $v, $supptables, $term) =
- @func_args{qw(chartid v supptables term)};
+ @func_args{qw(chartid t v supptables term)};
my $dbh = Bugzilla->dbh;
my $operator = ($$t =~ /before/) ? '<' : '>';
my $table = "longdescs_$$chartid";
push(@$supptables, "LEFT JOIN longdescs AS $table " .
"ON $table.bug_id = bugs.bug_id " .
- "AND $table.bug_when $operator " .
- $dbh->quote(SqlifyDate($$v)) );
+ "AND $table.bug_when $operator " .
+ $dbh->quote(SqlifyDate($$v)) );
$$term = "($table.bug_when IS NOT NULL)";
}
@@ -1423,16 +1423,16 @@ sub _work_time_changedbefore_after {
my $self = shift;
my %func_args = @_;
my ($chartid, $t, $v, $supptables, $term) =
- @func_args{qw(chartid v supptables term)};
+ @func_args{qw(chartid t v supptables term)};
my $dbh = Bugzilla->dbh;
my $operator = ($$t =~ /before/) ? '<' : '>';
my $table = "longdescs_$$chartid";
push(@$supptables, "LEFT JOIN longdescs AS $table " .
"ON $table.bug_id = bugs.bug_id " .
- "AND $table.work_time <> 0" .
- "AND $table.bug_when $operator " .
- $dbh->quote(SqlifyDate($$v)) );
+ "AND $table.work_time <> 0" .
+ "AND $table.bug_when $operator " .
+ $dbh->quote(SqlifyDate($$v)) );
$$term = "($table.bug_when IS NOT NULL)";
}