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:
@@ -773,6 +773,7 @@ if (defined $cgi->param('limit')) {
|
||||
}
|
||||
elsif ($fulltext) {
|
||||
$query .= " " . $dbh->sql_limit(200);
|
||||
$vars->{'sorted_by_relevance'} = 1;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -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" %]
|
||||
|
||||
Reference in New Issue
Block a user