summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Search.pm
diff options
context:
space:
mode:
authorbbaetz%student.usyd.edu.au <>2002-11-10 12:05:23 +0100
committerbbaetz%student.usyd.edu.au <>2002-11-10 12:05:23 +0100
commit2f21f4f1197e544be95bcce0ddf71297cbca2aa0 (patch)
tree9aa055a3dcdec8db807cafe71671185fd10ae777 /Bugzilla/Search.pm
parent2230afc9fb94b3dc36fab966f7621ca1deea24ab (diff)
downloadbugzilla-2f21f4f1197e544be95bcce0ddf71297cbca2aa0.tar.gz
bugzilla-2f21f4f1197e544be95bcce0ddf71297cbca2aa0.tar.xz
Bug 179238 - searching by commenter is ignored if you do 'exact' or
'contains' r, a=myk
Diffstat (limited to 'Bugzilla/Search.pm')
-rw-r--r--Bugzilla/Search.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm
index 6e37569d9..d7e3818d0 100644
--- a/Bugzilla/Search.pm
+++ b/Bugzilla/Search.pm
@@ -190,7 +190,10 @@ sub init {
if (my $list = $self->ListIDsForEmail($type, $email)) {
my $table = "longdescs_email_$id";
push(@supptables, "LEFT JOIN longdescs $table ON bugs.bug_id = $table.bug_id AND $table.who IN($list)");
- push(@clist, "$table.who",'isnotnull');
+ push(@wherepart, "$table.who IS NOT NULL");
+ # push something into @clist so that we don't trigger
+ # the missing_email_type error below
+ push(@clist, 'noop');
} else {
my $table = "longdescs_email_$id";
push(@supptables, "longdescs $table");
@@ -600,9 +603,6 @@ sub init {
",lessthan" => sub {
$term = "$ff < $q";
},
- ",isnotnull" => sub {
- $term = "$ff IS NOT NULL";
- },
",greaterthan" => sub {
$term = "$ff > $q";
},