diff options
author | lpsolit%gmail.com <> | 2008-08-08 08:27:26 +0000 |
---|---|---|
committer | lpsolit%gmail.com <> | 2008-08-08 08:27:26 +0000 |
commit | 49f694a0d054821fad9651b37ed20fd48372dfbd (patch) | |
tree | d6458bcb57209d3f5b9b1f2246a577497664d062 | |
parent | Bug 443479 â Clicking "Reset to Bugzilla default" when editing columns f... (diff) | |
download | bugzilla-49f694a0d054821fad9651b37ed20fd48372dfbd.tar.gz bugzilla-49f694a0d054821fad9651b37ed20fd48372dfbd.tar.bz2 bugzilla-49f694a0d054821fad9651b37ed20fd48372dfbd.zip |
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
-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); } |