]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 179242 Searching for comment contains string + email gives "Not unique table...
authorbugreport%peshkin.net <>
Sun, 10 Nov 2002 02:09:25 +0000 (02:09 +0000)
committerbugreport%peshkin.net <>
Sun, 10 Nov 2002 02:09:25 +0000 (02:09 +0000)
r=jake
a=myk

Bugzilla/Search.pm

index cea9294cab063290f59cb28084dc728b3491e67e..73d95c5242d6d5c96a797374a3d1328d2b3a53b8 100644 (file)
@@ -202,7 +202,7 @@ sub init {
         }
         if ($params->param("emaillongdesc$id")) {
             if (my $list = $self->ListIDsForEmail($type, $email)) {
-                my $table = "longdescs_";
+                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');
             } else {