diff options
Diffstat (limited to 'core/Report/ReportWidgetConfig.php')
-rw-r--r-- | core/Report/ReportWidgetConfig.php | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/core/Report/ReportWidgetConfig.php b/core/Report/ReportWidgetConfig.php index cb3b576b4d..3169280ef5 100644 --- a/core/Report/ReportWidgetConfig.php +++ b/core/Report/ReportWidgetConfig.php @@ -78,12 +78,11 @@ class ReportWidgetConfig extends WidgetConfig if ($this->forceViewDataTable) { $defaultParams['forceView'] = '1'; - } - if ($this->viewDataTable && - ($this->forceViewDataTable || $this->viewDataTable !== Factory::DEFAULT_VIEW)) { - // URL param is not needed for default view dataTable - $defaultParams['viewDataTable'] = $this->viewDataTable; + if ($this->viewDataTable) { + // URL param is not needed for default view dataTable + $defaultParams['viewDataTable'] = $this->viewDataTable; + } } return $defaultParams + $parameters; |