summaryrefslogtreecommitdiffstats
path: root/buglist.cgi
diff options
context:
space:
mode:
authorterry%netscape.com <>1998-09-03 04:02:30 +0200
committerterry%netscape.com <>1998-09-03 04:02:30 +0200
commit6d234deb0bec2680fc4b909e06d2fa61f1fc00e9 (patch)
tree771b1ae22cb0484bc8d2904659d04df85d5f814c /buglist.cgi
parente389f476661cc2cab478653ca70e5d51fb429c0d (diff)
downloadbugzilla-6d234deb0bec2680fc4b909e06d2fa61f1fc00e9.tar.gz
bugzilla-6d234deb0bec2680fc4b909e06d2fa61f1fc00e9.tar.xz
Patch by Sam Ziegler <ziegler@mediaguaranty.com> -- allow querying for
empty resolution.
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-xbuglist.cgi6
1 files changed, 5 insertions, 1 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 "
}