diff options
author | Max Kanat-Alexander <mkanat@bugzilla.org> | 2011-02-19 23:44:03 -0800 |
---|---|---|
committer | Max Kanat-Alexander <mkanat@bugzilla.org> | 2011-02-19 23:44:03 -0800 |
commit | 60712d5d6f5db2a468bea0447744c06d5e8a487c (patch) | |
tree | a067c48617f748d6543b6d2759cd6e5ccdccff5c /report.cgi | |
parent | 6aad3a0979417a4e131a2ac45ceabfe840aa4af6 (diff) | |
download | bugs-60712d5d6f5db2a468bea0447744c06d5e8a487c.tar bugs-60712d5d6f5db2a468bea0447744c06d5e8a487c.tar.gz bugs-60712d5d6f5db2a468bea0447744c06d5e8a487c.tar.bz2 bugs-60712d5d6f5db2a468bea0447744c06d5e8a487c.tar.xz bugs-60712d5d6f5db2a468bea0447744c06d5e8a487c.zip |
Bug 632717: Limit the total number of results that a search can ever return.
r=mkanat, a=mkanat (module owner)
Diffstat (limited to 'report.cgi')
-rwxr-xr-x | report.cgi | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/report.cgi b/report.cgi index 0fbb339f3..60067c7af 100755 --- a/report.cgi +++ b/report.cgi @@ -127,8 +127,11 @@ my @axis_fields = ($row_field || EMPTY_COLUMN, # Clone the params, so that Bugzilla::Search can modify them my $params = new Bugzilla::CGI($cgi); -my $search = new Bugzilla::Search('fields' => \@axis_fields, - 'params' => scalar $params->Vars); +my $search = new Bugzilla::Search( + fields => \@axis_fields, + params => scalar $params->Vars, + allow_unlimited => 1, +); my $query = $search->sql; $::SIG{TERM} = 'DEFAULT'; |