]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 293767: The search page does not use localised terms for statuses and resolutions...
authorlpsolit%gmail.com <>
Wed, 1 Jun 2005 07:41:02 +0000 (07:41 +0000)
committerlpsolit%gmail.com <>
Wed, 1 Jun 2005 07:41:02 +0000 (07:41 +0000)
template/en/default/global/field-descs.none.tmpl
template/en/default/search/form.html.tmpl

index f95719e06bd6b1c0f69db8e58d7df3521228f770..2ff546436f824008d12b8dc748b135c42f961788 100644 (file)
@@ -84,5 +84,6 @@
                         "REMIND"     => "REMIND",
                         "DUPLICATE"  => "DUPLICATE",
                         "WORKSFORME" => "WORKSFORME",
-                        "MOVED"      => "MOVED" } %]
+                        "MOVED"      => "MOVED",
+                        "---"        => "---" } %]
 
index 963d474d9de2276790f983d76c4f8c9696514f3a..cc33c4f962862091ba871381494f48f660315fc9 100644 (file)
@@ -595,7 +595,13 @@ function doOnSelectProduct(selectmode) {
       [% FOREACH name = ${sel.name} %]
         <option value="[% name FILTER html %]"
           [% " selected" IF lsearch(default.${sel.name}, name) != -1 %]>
-          [% name FILTER html %]</option>
+          [% IF sel.name == "bug_status" %]
+            [% status_descs.${name} FILTER html %]</option>
+          [% ELSIF sel.name == "resolution" %]
+            [% resolution_descs.${name} FILTER html %]</option>
+          [% ELSE %]
+            [% name FILTER html %]</option>
+          [% END %]
       [% END %]
       </select>
     </label>