From 60712d5d6f5db2a468bea0447744c06d5e8a487c Mon Sep 17 00:00:00 2001 From: Max Kanat-Alexander Date: Sat, 19 Feb 2011 23:44:03 -0800 Subject: Bug 632717: Limit the total number of results that a search can ever return. r=mkanat, a=mkanat (module owner) --- report.cgi | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'report.cgi') 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'; -- cgit v1.2.3-24-g4f1b