diff options
author | endico%mozilla.org <> | 1999-08-07 10:49:03 +0200 |
---|---|---|
committer | endico%mozilla.org <> | 1999-08-07 10:49:03 +0200 |
commit | 2ec659bdca92d7761c9b288b82a19b33054341de (patch) | |
tree | 74ffc399ef3a3a0aa1ff995a65ea5a481f395e70 | |
parent | b4daeeddb96a9d687021078aa99e10d40a97a2d7 (diff) | |
download | bugzilla-2ec659bdca92d7761c9b288b82a19b33054341de.tar.gz bugzilla-2ec659bdca92d7761c9b288b82a19b33054341de.tar.xz |
limit Most Recently Doomed to the 20 most doomed. the full report takes forever
-rwxr-xr-x | reports.cgi | 5 |
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) |