diff options
-rw-r--r-- | template/en/default/filterexceptions.pl | 2 | ||||
-rw-r--r-- | template/en/default/search/search-specific.html.tmpl | 11 |
2 files changed, 8 insertions, 5 deletions
diff --git a/template/en/default/filterexceptions.pl b/template/en/default/filterexceptions.pl index c669b2e15..39de4fcac 100644 --- a/template/en/default/filterexceptions.pl +++ b/template/en/default/filterexceptions.pl @@ -87,7 +87,7 @@ ], 'search/search-specific.html.tmpl' => [ - 's', + 'status.name', ], 'search/tabs.html.tmpl' => [ diff --git a/template/en/default/search/search-specific.html.tmpl b/template/en/default/search/search-specific.html.tmpl index 8b351bc36..8edda69ee 100644 --- a/template/en/default/search/search-specific.html.tmpl +++ b/template/en/default/search/search-specific.html.tmpl @@ -59,10 +59,13 @@ for "crash secure SSL flash". </td> <td> <select name="bug_status" id="bug_status"> - [% FOREACH s = ['open', 'closed', 'all'] %] - <option value="__[% s %]__" - [% " selected" IF default.bug_status.0 == "__${s}__" %]> - [% s %] + [% statuses = [ { name = 'open', label = "Open" }, + { name = 'closed', label = "Closed" }, + { name = 'all', label = "All" } ] %] + [% FOREACH status = statuses %] + <option value="__[% status.name %]__" + [% " selected" IF default.bug_status.0 == "__${status.name}__" %]> + [% status.label FILTER html %] </option> [% END %] </select> |