summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZombienaute2012-10-05 07:20:12 (GMT)
committer Raz Konforti2012-10-05 07:20:12 (GMT)
commitd61d1c69c372755174070e78b290020774d73284 (patch)
treecfaabaa467a27679c877a043443aaca2717cd9a0
parentc2502eb61508b9ac45f7aff2d6be9db9d7db5af1 (diff)
Issue 1803908 by acbramley: allows field exclusion to function correctly.
-rw-r--r--google_chart_tools_views/views/google_chart_tools_views_plugin_style.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/google_chart_tools_views/views/google_chart_tools_views_plugin_style.inc b/google_chart_tools_views/views/google_chart_tools_views_plugin_style.inc
index 3f7a4c7..e35ec7f 100644
--- a/google_chart_tools_views/views/google_chart_tools_views_plugin_style.inc
+++ b/google_chart_tools_views/views/google_chart_tools_views_plugin_style.inc
@@ -110,7 +110,7 @@ class google_chart_tools_views_plugin_style extends views_plugin_style {
// Default chart treat.
else {
foreach ($this->view->field as $key => $field) {
- if ($field->position !== 0) {
+ if ($field->position !== 0 && !$field->options['exclude']) {
$column[] = !empty($field->options['label']) ? $field->options['label'] : $field->definition['title'];
}
}