summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2010-08-02 01:19:47 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2010-08-02 01:19:47 +0200
commite214fe83d5ca689771a5c55bc507fc1a7309bf6b (patch)
treee38578014eb23bbd5cb91160740da7c68d3485f6
parentdac48ba3875e23c64ba9d79f81705bc5e84a9fc4 (diff)
downloadbugzilla-e214fe83d5ca689771a5c55bc507fc1a7309bf6b.tar.gz
bugzilla-e214fe83d5ca689771a5c55bc507fc1a7309bf6b.tar.xz
Bug 581622: When a quicksearch includes the "content" field, it is limited to 200 bugs
r/a=mkanat
-rw-r--r--Bugzilla/Constants.pm6
-rwxr-xr-xbuglist.cgi1
-rw-r--r--template/en/default/global/messages.html.tmpl4
3 files changed, 0 insertions, 11 deletions
diff --git a/Bugzilla/Constants.pm b/Bugzilla/Constants.pm
index 2285f89b0..bfb8d190d 100644
--- a/Bugzilla/Constants.pm
+++ b/Bugzilla/Constants.pm
@@ -113,8 +113,6 @@ use Memoize;
GLOBAL_EVENTS
EVT_FLAG_REQUESTED EVT_REQUESTED_FLAG
- FULLTEXT_BUGLIST_LIMIT
-
ADMIN_GROUP_NAME
PER_PRODUCT_PRIVILEGES
@@ -369,10 +367,6 @@ use constant EVT_REQUESTED_FLAG => 101; # I have requested a flag
use constant GLOBAL_EVENTS => EVT_FLAG_REQUESTED, EVT_REQUESTED_FLAG;
-# Number of bugs to return in a buglist when performing
-# a fulltext search.
-use constant FULLTEXT_BUGLIST_LIMIT => 200;
-
# Default administration group name.
use constant ADMIN_GROUP_NAME => 'admin';
diff --git a/buglist.cgi b/buglist.cgi
index 0c1615d6f..d43e06535 100755
--- a/buglist.cgi
+++ b/buglist.cgi
@@ -861,7 +861,6 @@ if (defined $cgi->param('limit')) {
}
}
elsif ($fulltext) {
- $query .= " " . $dbh->sql_limit(FULLTEXT_BUGLIST_LIMIT);
if ($cgi->param('order') && $cgi->param('order') =~ /^relevance/) {
$vars->{'message'} = 'buglist_sorted_by_relevance';
}
diff --git a/template/en/default/global/messages.html.tmpl b/template/en/default/global/messages.html.tmpl
index e464e4b08..85c2ed513 100644
--- a/template/en/default/global/messages.html.tmpl
+++ b/template/en/default/global/messages.html.tmpl
@@ -150,10 +150,6 @@
[% ELSIF message_tag == "buglist_sorted_by_relevance" %]
[% terms.Bugs %] on this list are sorted by relevance, with the most
relevant [% terms.bugs %] at the top.
- [% IF bugs.size == constants.FULLTEXT_BUGLIST_LIMIT %]
- Only the [% constants.FULLTEXT_BUGLIST_LIMIT FILTER html %]
- most relevant [% terms.bugs %] are shown.
- [% END %]
[% ELSIF message_tag == "change_columns" %]
[% title = "Change columns" %]