diff options
-rwxr-xr-x | buglist.cgi | 6 | ||||
-rwxr-xr-x | query.cgi | 2 |
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 " } @@ -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> |