From: Tiago Mello Date: Tue, 16 Aug 2011 22:52:45 +0000 (-0300) Subject: Bug 678357: Fix 'limit' parameter in the saved searches results X-Git-Tag: bugzilla-4.2rc1~85 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=80040dc6c543a114d4e21cd967ba5da7da04142e;p=thirdparty%2Fbugzilla.git Bug 678357: Fix 'limit' parameter in the saved searches results r/a=mkanat --- diff --git a/buglist.cgi b/buglist.cgi index 7549063a46..bf8b443e6a 100755 --- a/buglist.cgi +++ b/buglist.cgi @@ -766,7 +766,7 @@ if ($fulltext and grep { /^relevance/ } @orderstrings) { # In the HTML interface, by default, we limit the returned results, # which speeds up quite a few searches where people are really only looking # for the top results. -if ($format->{'extension'} eq 'html' && !defined $cgi->param('limit')) { +if ($format->{'extension'} eq 'html' && !defined $params->param('limit')) { $params->param('limit', Bugzilla->params->{'default_search_limit'}); $vars->{'default_limited'} = 1; }