From 4f604ef7a1b00542fa07826d0bd950131fb010f5 Mon Sep 17 00:00:00 2001 From: vfilippov Date: Fri, 16 Apr 2010 14:39:26 +0000 Subject: [PATCH] Bug 62964 git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@708 6955db30-a419-402b-8a0d-67ecbb4d7f56 --- extensions/custis/code/buglist-columns.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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", };