diff options
Diffstat (limited to 'plugins/DBStats/DBStats.php')
-rw-r--r-- | plugins/DBStats/DBStats.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/DBStats/DBStats.php b/plugins/DBStats/DBStats.php index 63f9f439f5..9b9eac305c 100644 --- a/plugins/DBStats/DBStats.php +++ b/plugins/DBStats/DBStats.php @@ -16,6 +16,7 @@ use Piwik\Date; use Piwik\Menu\MenuAdmin; use Piwik\Option; use Piwik\Piwik; +use Piwik\DataTable\Row\DataTableSummaryRow; use Piwik\Plugins\CoreVisualizations\Visualizations\Graph; use Piwik\Plugins\CoreVisualizations\Visualizations\HtmlTable; use Piwik\Plugins\CoreVisualizations\Visualizations\JqplotGraph\Pie; @@ -312,8 +313,7 @@ class DBStats extends \Piwik\Plugin if ($view->isViewDataTableId(HtmlTable::ID)) { // add summary row only if displaying a table - $view->config->filters[] = array( - 'AddSummaryRow', array(0, Piwik::translate('General_Total'), 'label', false), $isPriority = true); + $dataTable->queueFilter('AddSummaryRow', Piwik::translate('General_Total')); // add percentage column if desired if ($addPercentColumn |