diff --git a/extensions/custis/code/buglist-columns.pl b/extensions/custis/code/buglist-columns.pl index f34a28875..13b69e205 100644 --- a/extensions/custis/code/buglist-columns.pl +++ b/extensions/custis/code/buglist-columns.pl @@ -18,7 +18,7 @@ $columns->{flags} = { name => "(SELECT GROUP_CONCAT(CONCAT(col_ft.name,col_f.status) SEPARATOR ', ') FROM flags col_f JOIN flagtypes col_ft ON col_f.type_id=col_ft.id -WHERE col_f.bug_id=bugs.bug_id AND col_ft.is_requesteeble=0)", +WHERE col_f.bug_id=bugs.bug_id AND (col_ft.is_requesteeble=0 OR col_ft.is_requestable=0))", title => "Flags", }; @@ -27,6 +27,6 @@ $columns->{requests} = { "(SELECT GROUP_CONCAT(CONCAT(col_ft.name,col_f.status,CASE WHEN col_p.login_name IS NULL THEN '' ELSE CONCAT(' ',col_p.login_name) END) SEPARATOR ', ') FROM flags col_f JOIN flagtypes col_ft ON col_f.type_id=col_ft.id LEFT JOIN profiles col_p ON col_f.requestee_id=col_p.userid -WHERE col_f.bug_id=bugs.bug_id AND col_ft.is_requesteeble=1)", +WHERE col_f.bug_id=bugs.bug_id AND col_ft.is_requesteeble=1 AND col_ft.is_requestable=1)", title => "Requests", };