summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbuglist.cgi6
-rwxr-xr-xquery.cgi2
2 files changed, 6 insertions, 2 deletions
diff --git a/buglist.cgi b/buglist.cgi
index 61e7cac15..8350526a3 100755
--- a/buglist.cgi
+++ b/buglist.cgi
@@ -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 "
}
diff --git a/query.cgi b/query.cgi
index 9bf5dfd1d..7e43d56bd 100755
--- 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>