diff options
author | lpsolit%gmail.com <> | 2008-08-08 10:27:26 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2008-08-08 10:27:26 +0200 |
commit | 49f694a0d054821fad9651b37ed20fd48372dfbd (patch) | |
tree | d6458bcb57209d3f5b9b1f2246a577497664d062 /buglist.cgi | |
parent | ac93e1f2fead3f9c67477e72ed2c4e95d607b0e9 (diff) | |
download | bugzilla-49f694a0d054821fad9651b37ed20fd48372dfbd.tar.gz bugzilla-49f694a0d054821fad9651b37ed20fd48372dfbd.tar.xz |
Bug 449693: If a custom multi-select field is active, displaying all columns in buglists throws a SQL error - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-x | buglist.cgi | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/buglist.cgi b/buglist.cgi index d0f350e0a..c06d40d22 100755 --- a/buglist.cgi +++ b/buglist.cgi @@ -695,6 +695,8 @@ DefineColumn("relevance" , "relevance" , "Relevance" DefineColumn("deadline" , $dbh->sql_date_format('bugs.deadline', '%Y-%m-%d') . " AS deadline", "Deadline"); foreach my $field (Bugzilla->active_custom_fields) { + # Multi-select fields are not (yet) supported in buglists. + next if $field->type == FIELD_TYPE_MULTI_SELECT; DefineColumn($field->name, 'bugs.' . $field->name, $field->description); } |