]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Patch by Sam Ziegler <ziegler@mediaguaranty.com> -- allow querying for
authorterry%netscape.com <>
Thu, 3 Sep 1998 02:02:30 +0000 (02:02 +0000)
committerterry%netscape.com <>
Thu, 3 Sep 1998 02:02:30 +0000 (02:02 +0000)
empty resolution.

buglist.cgi
query.cgi

index 61e7cac15e2c1fb048aa20b8a64a4b661c82ba88..8350526a3e926dd5520d824ead0e4ebb689f41db 100755 (executable)
@@ -203,7 +203,11 @@ if {[info exists FORM(sql)]} {
           if {[cequal $v "(empty)"]} {
               qadd "\t\t${or}bugs.$field is null\n"
           } else {
-              qadd "\t\t${or}bugs.$field = '$v'\n"
+              if {[cequal $v "---"]} {
+                  qadd "\t\t${or}bugs.$field = ''\n"
+              } else {
+                  qadd "\t\t${or}bugs.$field = '$v'\n"
+              }
           }
           set or "or "
         }
index 9bf5dfd1d9ab57467a6dfa8ddcce14dd4a68c136..7e43d56bd6eda67e16f971517793b565020a3577 100755 (executable)
--- a/query.cgi
+++ b/query.cgi
@@ -112,7 +112,7 @@ puts "
 </td>
 <td align=left valign=top>
 <SELECT NAME=\"resolution\" MULTIPLE SIZE=7>
-[make_options $legal_resolution $default(resolution) $type(resolution)]
+[make_options [concat $legal_resolution [list "---"]] $default(resolution) $type(resolution)]
 </SELECT>
 </td>
 <td align=left valign=top>