From: Tiago Mello Date: Tue, 16 Aug 2011 22:50:52 +0000 (-0300) Subject: Bug 678357: Fix 'limit' parameter in the saved searches results X-Git-Tag: bugzilla-4.3.1~276 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26db6febb4dbd4207d80abe5d3ca18e4c0e025b6;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 0797aa3893..e928af905a 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; }