diff options
author | Thomas Steur <thomas.steur@googlemail.com> | 2014-05-29 01:01:21 +0400 |
---|---|---|
committer | Thomas Steur <thomas.steur@googlemail.com> | 2014-05-29 01:01:21 +0400 |
commit | cd2ec823216af619dbd1a7ca72a52b86cfb38cbb (patch) | |
tree | c7efdd5561d5c02b599517a7f4d4bbeeb4a1084b /core/ViewDataTable | |
parent | 4c78ba86465ce0b9302d24b93c142a1b634593a8 (diff) |
refs #5253 this might fix the database usage error. It definitely fixes nothing is displayed once you change a column in the graph charts since it does not support them. The summary configuration was never applied due to a typo.
Diffstat (limited to 'core/ViewDataTable')
-rw-r--r-- | core/ViewDataTable/Manager.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/core/ViewDataTable/Manager.php b/core/ViewDataTable/Manager.php index ea762c4ce1..16e8379d10 100644 --- a/core/ViewDataTable/Manager.php +++ b/core/ViewDataTable/Manager.php @@ -303,10 +303,14 @@ class Manager foreach ($parametersToOverride as $key => $value) { if ($key === 'viewDataTable' - && !empty($params['columns']) && !empty($params[$key]) && $params[$key] !== $value) { - unset($params['columns']); + if (!empty($params['columns'])) { + unset($params['columns']); + } + if (!empty($params['columns_to_display'])) { + unset($params['columns_to_display']); + } } $params[$key] = $value; |