Commit cdb5a5b6 authored by dkl%redhat.com's avatar dkl%redhat.com

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
parent 4ab6c90f
......@@ -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 '
......
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