]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 581622: When a quicksearch includes the "content" field, it is limited to 200...
authorFrédéric Buclin <LpSolit@gmail.com>
Sun, 1 Aug 2010 23:21:14 +0000 (01:21 +0200)
committerFrédéric Buclin <LpSolit@gmail.com>
Sun, 1 Aug 2010 23:21:14 +0000 (01:21 +0200)
r/a=mkanat

Bugzilla/Constants.pm
buglist.cgi
template/en/default/global/messages.html.tmpl

index 63219833eedb30a7fb289caeaa4eef662eb31acb..5f8b2a89a6f153722e0b2e1353f377c709e93fe8 100644 (file)
@@ -112,8 +112,6 @@ use File::Basename;
     GLOBAL_EVENTS
     EVT_FLAG_REQUESTED EVT_REQUESTED_FLAG
 
-    FULLTEXT_BUGLIST_LIMIT
-
     ADMIN_GROUP_NAME
     PER_PRODUCT_PRIVILEGES
 
@@ -368,10 +366,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';
 
index 1972dd5b3318ae9bfb65d1924a29130c809a9eed..2827a2bee35a8ea197237c7befaaa3bc7efae1cc 100755 (executable)
@@ -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';
     }
index 96225e128e3f064aeb9665d14e3985d9169469b6..4de6d0a9f36f87fdf34619574ecfa47989e05b5d 100644 (file)
   [% 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" %]