aboutsummaryrefslogtreecommitdiffstats
path: root/buglist.cgi
diff options
context:
space:
mode:
authorTiago Mello <timello@gmail.com>2011-08-16 19:50:52 -0300
committerTiago Mello <timello@gmail.com>2011-08-16 19:50:52 -0300
commit26db6febb4dbd4207d80abe5d3ca18e4c0e025b6 (patch)
treea17b16d7b8d48e8e6249d50252eb58fb07d9ffaf /buglist.cgi
parentb58deeddfc05461e4ef240b501278449d866da31 (diff)
downloadbugs-26db6febb4dbd4207d80abe5d3ca18e4c0e025b6.tar
bugs-26db6febb4dbd4207d80abe5d3ca18e4c0e025b6.tar.gz
bugs-26db6febb4dbd4207d80abe5d3ca18e4c0e025b6.tar.bz2
bugs-26db6febb4dbd4207d80abe5d3ca18e4c0e025b6.tar.xz
bugs-26db6febb4dbd4207d80abe5d3ca18e4c0e025b6.zip
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;
}