]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Whoops; SQL doesn't seem to want me to mention a table in a SELECT statement
authorterry%mozilla.org <>
Fri, 7 Jan 2000 05:32:59 +0000 (05:32 +0000)
committerterry%mozilla.org <>
Fri, 7 Jan 2000 05:32:59 +0000 (05:32 +0000)
if I'm not going to use it.

buglist.cgi

index 211259dca49299903d64308a7fa9ee2bc455cd02..7ae3f066c90b3400f2342b62f22db364c0a777cd 100755 (executable)
@@ -235,8 +235,7 @@ from   bugs,
        profiles assign,
        profiles report
        left join profiles qacont on bugs.qa_contact = qacont.userid,
-       versions projector,
-       keywords
+       versions projector
 
 where  bugs.assigned_to = assign.userid 
 and    bugs.reporter = report.userid
@@ -309,6 +308,7 @@ if ($::FORM{'keywords'}) {
         }
     }
     if (@list) {
+        $query =~ s/bugs,/bugs, keywords,/;
         $query .= "and keywords.bug_id = bugs.bug_id and (" .
             join(" $::FORM{'keywords_type'} ", @list) . ")\n";
     }