diff options
author | mkanat%bugzilla.org <> | 2009-10-01 00:34:31 +0200 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2009-10-01 00:34:31 +0200 |
commit | 832be61ce419f06cc682e7afc07d9197592a6bf5 (patch) | |
tree | 26cc6a4aeb96479f2cd7371d2c47ac876857caca /template/en/default/search | |
parent | dbe356e60a0aed4b498001c603a86d0f648fa229 (diff) | |
download | bugzilla-832be61ce419f06cc682e7afc07d9197592a6bf5.tar.gz bugzilla-832be61ce419f06cc682e7afc07d9197592a6bf5.tar.xz |
Bug 512623: Change get_status and get_resolution to display_value everywhere.
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit
Diffstat (limited to 'template/en/default/search')
-rw-r--r-- | template/en/default/search/form.html.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/template/en/default/search/form.html.tmpl b/template/en/default/search/form.html.tmpl index b09516de1..c6b3c3b30 100644 --- a/template/en/default/search/form.html.tmpl +++ b/template/en/default/search/form.html.tmpl @@ -617,10 +617,10 @@ function doOnSelectProduct(selectmode) { <option value="[% value.name OR '---' FILTER html %]" [% " selected" IF lsearch(default.${sel.name}, value.name) != -1 %]> [% IF sel.name == "bug_status" %] - [% get_status(value.name) FILTER html %] + [% display_value("bug_status", value.name) FILTER html %] [% ELSIF sel.name == "resolution" %] [%# Again, resolution has that odd empty value. Replace it with '---' %] - [% get_resolution(value.name) OR '---' FILTER html %] + [% display_value("resolution", value.name) OR '---' FILTER html %] [% ELSE %] [% value.name FILTER html %] [% END %] |