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

empty resolution.
This commit is contained in:
terry%netscape.com 1998-09-02 19:02:30 +00:00
Родитель 7b9f4a667e
Коммит 28ecbe013a
2 изменённых файлов: 6 добавлений и 2 удалений

Просмотреть файл

@ -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>