summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbuglist.cgi1
-rw-r--r--template/en/default/global/messages.html.tmpl6
2 files changed, 5 insertions, 2 deletions
diff --git a/buglist.cgi b/buglist.cgi
index 106236175..3070fbcec 100755
--- a/buglist.cgi
+++ b/buglist.cgi
@@ -773,6 +773,7 @@ if (defined $cgi->param('limit')) {
}
elsif ($fulltext) {
$query .= " " . $dbh->sql_limit(200);
+ $vars->{'sorted_by_relevance'} = 1;
}
diff --git a/template/en/default/global/messages.html.tmpl b/template/en/default/global/messages.html.tmpl
index 51056ec6c..e0821688b 100644
--- a/template/en/default/global/messages.html.tmpl
+++ b/template/en/default/global/messages.html.tmpl
@@ -127,8 +127,10 @@
[% 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. Only the 200 most relevant
- [%+ terms.bugs %] are shown.
+ relevant [% terms.bugs %] at the top.
+ [% IF bugs.size == 200 %]
+ Only the 200 most relevant [% terms.bugs %] are shown.
+ [% END %]
[% ELSIF message_tag == "change_columns" %]
[% title = "Change columns" %]