]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Fixed links off of 'Most doomed' reports to only list bugs that match the product...
authorterry%mozilla.org <>
Sat, 8 Jul 2000 04:05:19 +0000 (04:05 +0000)
committerterry%mozilla.org <>
Sat, 8 Jul 2000 04:05:19 +0000 (04:05 +0000)
reports.cgi

index daf640cb8d3e8075b71da8f0d44e500db1b68007..8737583abeb8e480193204c672b30d10986cbb6e 100755 (executable)
@@ -648,7 +648,11 @@ FIN
                 print "<TR><TD>\n";
                 SendSQL("select login_name from profiles where userid=$person");
                 my $login_name= FetchSQLData();
-                print("<A HREF=\"buglist.cgi?bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&target_milestone=$ms&assigned_to=$login_name\">\n");
+                print("<A HREF=\"buglist.cgi?bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&target_milestone=$ms&assigned_to=$login_name");
+               if( $::FORM{'product'} ne "-All-" ) {
+                   print "&product=" . url_quote($::FORM{'product'});
+               }
+               print("\">\n");
                 print("$bugsperperson{$person}  bugs and features");
                 print("</A>");
                 print(" for \n");