summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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");