diff options
author | ghendricks%novell.com <> | 2010-01-12 17:26:28 +0000 |
---|---|---|
committer | ghendricks%novell.com <> | 2010-01-12 17:26:28 +0000 |
commit | 61c5777bf9539b94c7cc3188a7970f1bd819adfa (patch) | |
tree | 6d680645f29fdcc0a8aed6374a2073616e44995b /template | |
parent | Bug 509030: "Changes older than" in Advanced Search is sometimes ignored - Pa... (diff) | |
download | bugzilla-61c5777bf9539b94c7cc3188a7970f1bd819adfa.tar.gz bugzilla-61c5777bf9539b94c7cc3188a7970f1bd819adfa.tar.bz2 bugzilla-61c5777bf9539b94c7cc3188a7970f1bd819adfa.zip |
Bug 539229 - Editing a search with resolution '---' does not remember that resolution
patch by ghendricks r=LpSolit a=LpSolit
Diffstat (limited to 'template')
-rw-r--r-- | template/en/default/search/form.html.tmpl | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/template/en/default/search/form.html.tmpl b/template/en/default/search/form.html.tmpl index 6ee301dd0..7db07fc79 100644 --- a/template/en/default/search/form.html.tmpl +++ b/template/en/default/search/form.html.tmpl @@ -624,10 +624,11 @@ function doOnSelectProduct(selectmode) { <select name="[% sel.name %]" id="[% sel.name %]" multiple="multiple" size="[% sel.size %]"> [% FOREACH value = ${sel.name} %] - [% IF value.id %] - [%# This only applies for Resolution really %] - <option value="[% value.name OR '---' FILTER html %]" - [% " selected" IF lsearch(default.${sel.name}, value.name) != -1 %]> + [% IF value.id %] + [%# This only applies for Resolution really %] + [% v = value.name OR '---' -%] + <option value="[% v FILTER html %]" + [% " selected" IF lsearch(default.${sel.name}, v) != -1 %]> [% display_value(sel.name, value.name) FILTER html %] </option> [% ELSE %] |