Bug 244533: Display "only the 200 most relevant bugs are shown" only when more than 200 bugs are found - Patch by Frédéric Buclin <LpSolit@gmail.com> r=kiko a=myk

git-svn-id: svn://10.0.0.236/trunk@174875 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
lpsolit%gmail.com
2005-06-20 20:35:58 +00:00
parent 5363985880
commit e4fc1997b4
2 changed files with 5 additions and 2 deletions

View File

@@ -773,6 +773,7 @@ if (defined $cgi->param('limit')) {
}
elsif ($fulltext) {
$query .= " " . $dbh->sql_limit(200);
$vars->{'sorted_by_relevance'} = 1;
}

View File

@@ -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" %]