diff options
author | myk%mozilla.org <> | 2003-09-03 11:03:30 +0200 |
---|---|---|
committer | myk%mozilla.org <> | 2003-09-03 11:03:30 +0200 |
commit | 94266c521b3e388b41f3dd6f74948a9ec71997d5 (patch) | |
tree | a93a6a69eb5aa233b9e0de3357c9866092ff86c0 /template/en/default/list | |
parent | b58af575949ab6ae74800873feef0e22ed763577 (diff) | |
download | bugzilla-94266c521b3e388b41f3dd6f74948a9ec71997d5.tar.gz bugzilla-94266c521b3e388b41f3dd6f74948a9ec71997d5.tar.xz |
Fix for bug 145588: adds full-text search option for more accurate finding of individual bugs via words that appear in their descriptions/comments/summaries.
r=bbaetz
a=myk
Diffstat (limited to 'template/en/default/list')
-rw-r--r-- | template/en/default/list/list.html.tmpl | 1 | ||||
-rw-r--r-- | template/en/default/list/table.html.tmpl | 20 |
2 files changed, 15 insertions, 6 deletions
diff --git a/template/en/default/list/list.html.tmpl b/template/en/default/list/list.html.tmpl index 35a80d08a..f02d92904 100644 --- a/template/en/default/list/list.html.tmpl +++ b/template/en/default/list/list.html.tmpl @@ -28,6 +28,7 @@ [% DEFAULT title = "$terms.Bug List" %] [% style_urls = [ "css/buglist.css" ] %] [% qorder = order FILTER url_quote IF order %] +[% message = "buglist_sorted_by_relevance" IF sorted_by_relevance %] [%############################################################################%] diff --git a/template/en/default/list/table.html.tmpl b/template/en/default/list/table.html.tmpl index 32016390a..99be51257 100644 --- a/template/en/default/list/table.html.tmpl +++ b/template/en/default/list/table.html.tmpl @@ -85,8 +85,12 @@ <th> </th> [% END %] <th colspan="[% splitheader ? 2 : 1 %]"> - <a href="buglist.cgi? - [% urlquerypart FILTER html %]&order=bugs.bug_id">ID</a> + [% IF sorted_by_relevance %] + ID + [% ELSE %] + <a href="buglist.cgi? + [% urlquerypart FILTER html %]&order=bugs.bug_id">ID</a> + [% END %] </th> [% IF splitheader %] @@ -119,10 +123,14 @@ [% BLOCK columnheader %] <th colspan="[% splitheader ? 2 : 1 %]"> - <a href="buglist.cgi?[% urlquerypart FILTER html %]&order= - [% column.name FILTER url_quote FILTER html %] - [% ",$qorder" FILTER html IF order %]"> - [%- abbrev.$id.title || field_descs.$id || column.title -%]</a> + [% IF sorted_by_relevance %] + [%- abbrev.$id.title || field_descs.$id || column.title -%] + [% ELSE %] + <a href="buglist.cgi?[% urlquerypart FILTER html %]&order= + [% column.name FILTER url_quote FILTER html %] + [% ",$qorder" FILTER html IF order %]"> + [%- abbrev.$id.title || field_descs.$id || column.title -%]</a> + [% END %] </th> [% END %] |