aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorendico%mozilla.org <>1999-08-07 08:49:03 +0000
committerendico%mozilla.org <>1999-08-07 08:49:03 +0000
commit2ec659bdca92d7761c9b288b82a19b33054341de (patch)
tree74ffc399ef3a3a0aa1ff995a65ea5a481f395e70
parentb4daeeddb96a9d687021078aa99e10d40a97a2d7 (diff)
downloadbugs-2ec659bdca92d7761c9b288b82a19b33054341de.tar
bugs-2ec659bdca92d7761c9b288b82a19b33054341de.tar.gz
bugs-2ec659bdca92d7761c9b288b82a19b33054341de.tar.bz2
bugs-2ec659bdca92d7761c9b288b82a19b33054341de.tar.xz
bugs-2ec659bdca92d7761c9b288b82a19b33054341de.zip
limit Most Recently Doomed to the 20 most doomed. the full report takes forever
-rwxr-xr-xreports.cgi5
1 files changed, 5 insertions, 0 deletions
diff --git a/reports.cgi b/reports.cgi
index 41614773d..9fe4413b4 100755
--- a/reports.cgi
+++ b/reports.cgi
@@ -711,10 +711,15 @@ sub most_recently_doomed
# sort people by the number of bugs they have assigned to this milestone
@people = sort bybugs @people;
my $totalpeople = @people;
+
+ if ($totalpeople > 20) {
+ splice @people, 0, $totalpeople-20;
+ }
print "<TABLE>\n";
print "<TR><TD COLSPAN=2>\n";
print "$totalpeople engineers have $bugtotal untouched new bugs.\n";
+ print "These are the 20 most doomed.";
print "</TD></TR>\n";
while (@people)