Disable option 'Closed reports too:' if no user input is given.
For whatever reasons, the perl script query-pr-summary.cgi is horrible slow for large output. It take more than 4 CPU minutes to parse 100_000 lines text. It also doesn't make sense to generate a 20MB large HTML table.
This commit is contained in:
parent
c4190242c1
commit
b3edeb15d0
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=30562
1 changed files with 3 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/perl -T
|
||||
# $FreeBSD: www/en/cgi/query-pr-summary.cgi,v 1.57 2006/10/08 17:00:12 ceri Exp $
|
||||
# $FreeBSD: www/en/cgi/query-pr-summary.cgi,v 1.58 2007/01/10 17:47:39 danger Exp $
|
||||
|
||||
$html_mode = 1 if $ENV{'DOCUMENT_ROOT'};
|
||||
$self_ref = $ENV{'SCRIPT_NAME'};
|
||||
|
@ -53,7 +53,8 @@ if ($html_mode) {
|
|||
}
|
||||
}
|
||||
|
||||
$closed_too = 1 if $input{'state'} eq 'closed' || $input{'closedtoo'};
|
||||
$closed_too = 1 if $input{'state'} eq 'closed' ||
|
||||
($input{'closedtoo'} && ($input{'multitext'} || $input{'text'} || $input{'responsible'} || $input{'originator'}));
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
|
||||
|
|
Loading…
Reference in a new issue