Commit 6d234deb authored by terry%netscape.com's avatar terry%netscape.com

Patch by Sam Ziegler <ziegler@mediaguaranty.com> -- allow querying for

empty resolution.
parent e389f476
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment