diff options
author | dkl%redhat.com <> | 2008-09-24 23:27:31 +0200 |
---|---|---|
committer | dkl%redhat.com <> | 2008-09-24 23:27:31 +0200 |
commit | cdb5a5b60273f5e00b5e7a3e05c28bd6da2fa467 (patch) | |
tree | 0dec9b8086334c4f89fad3c88cda4ef1b747d95c | |
parent | 4ab6c90fff265849d9284b5d4f9aca93da231edd (diff) | |
download | bugzilla-cdb5a5b60273f5e00b5e7a3e05c28bd6da2fa467.tar.gz bugzilla-cdb5a5b60273f5e00b5e7a3e05c28bd6da2fa467.tar.xz |
Bug 456642 - Mass bug edit form for buglist.cgi shows inactive bug statuses in drop down
Patch by David Lawrence <dkl@redhat.com> - r/a=LpSolit
-rwxr-xr-x | buglist.cgi | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/buglist.cgi b/buglist.cgi index d762dd5ee..f83f957fc 100755 --- a/buglist.cgi +++ b/buglist.cgi @@ -1221,9 +1221,12 @@ if ($dotweak && scalar @bugs) { # It also accepts transitions where the bug status doesn't change. $bug_status_ids = $dbh->selectcol_arrayref( - 'SELECT DISTINCT new_status + 'SELECT DISTINCT sw1.new_status FROM status_workflow sw1 - WHERE NOT EXISTS + INNER JOIN bug_status + ON bug_status.id = sw1.new_status + WHERE bug_status.isactive = 1 + AND NOT EXISTS (SELECT * FROM status_workflow sw2 WHERE sw2.old_status != sw1.new_status AND ' |