summaryrefslogtreecommitdiffstats
path: root/reports.cgi
diff options
context:
space:
mode:
authorterry%mozilla.org <>2000-07-08 06:05:19 +0200
committerterry%mozilla.org <>2000-07-08 06:05:19 +0200
commit8abd32b0636d1d568e3388d16a27a96f05c95b7d (patch)
tree52cdabf6c02a66cc2a6dc8b2f08725fde49c2652 /reports.cgi
parenta39343c1e0e55a912b31171cbeee6ad270fcbb4e (diff)
downloadbugzilla-8abd32b0636d1d568e3388d16a27a96f05c95b7d.tar.gz
bugzilla-8abd32b0636d1d568e3388d16a27a96f05c95b7d.tar.xz
Fixed links off of 'Most doomed' reports to only list bugs that match the product we're reporting about.
Diffstat (limited to 'reports.cgi')
-rwxr-xr-xreports.cgi6
1 files changed, 5 insertions, 1 deletions
diff --git a/reports.cgi b/reports.cgi
index daf640cb8..8737583ab 100755
--- a/reports.cgi
+++ b/reports.cgi
@@ -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");