summaryrefslogtreecommitdiffstats
path: root/buglist.cgi
diff options
context:
space:
mode:
authorTiago Mello <timello@gmail.com>2011-08-17 00:50:52 +0200
committerTiago Mello <timello@gmail.com>2011-08-17 00:50:52 +0200
commit26db6febb4dbd4207d80abe5d3ca18e4c0e025b6 (patch)
treea17b16d7b8d48e8e6249d50252eb58fb07d9ffaf /buglist.cgi
parentb58deeddfc05461e4ef240b501278449d866da31 (diff)
downloadbugzilla-26db6febb4dbd4207d80abe5d3ca18e4c0e025b6.tar.gz
bugzilla-26db6febb4dbd4207d80abe5d3ca18e4c0e025b6.tar.xz
Bug 678357: Fix 'limit' parameter in the saved searches results
r/a=mkanat
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-xbuglist.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/buglist.cgi b/buglist.cgi
index 0797aa389..e928af905 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;
}