diff options
author | Stefan Giehl <stefan@matomo.org> | 2020-10-29 00:42:01 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-29 00:42:01 +0300 |
commit | fdff190f3f09821e0d0f91a41665cb98b7885a64 (patch) | |
tree | 5fbc6a5fa6cad26fb2a15516ce054fd4f418fa96 /plugins | |
parent | 9c7300effbf7cfa69eae470c2231a448feeec517 (diff) |
Don't calculate totals and percentage for browser plugins report (#16622)
* Don't calculate totals and percentage for browser plugins report
* updates expected UI files
Diffstat (limited to 'plugins')
3 files changed, 6 insertions, 4 deletions
diff --git a/plugins/Dashboard/tests/UI/expected-screenshots/DashboardManager_removed.png b/plugins/Dashboard/tests/UI/expected-screenshots/DashboardManager_removed.png index d5346199b9..e2a7456e5c 100644 --- a/plugins/Dashboard/tests/UI/expected-screenshots/DashboardManager_removed.png +++ b/plugins/Dashboard/tests/UI/expected-screenshots/DashboardManager_removed.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e518d84cfd5f749b573065d2dd019197d36fae72f661a807a8ae8a3808500b93 -size 480017 +oid sha256:5e1dc0c291f09d57c6daead03c35a51603d46a310c4077e6d124bc92f68f383d +size 480015 diff --git a/plugins/Dashboard/tests/UI/expected-screenshots/Dashboard_removed.png b/plugins/Dashboard/tests/UI/expected-screenshots/Dashboard_removed.png index 5bf735ec22..bd555e9535 100644 --- a/plugins/Dashboard/tests/UI/expected-screenshots/Dashboard_removed.png +++ b/plugins/Dashboard/tests/UI/expected-screenshots/Dashboard_removed.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:045dbd0763e428af0ab56cf2a7e14f1c7d7f29472f411631f56245c23c03f097 -size 747100 +oid sha256:63b5ba8e11faf3353ec7b8daa346fdc791d4204eb48f4b5a57efe50740d2f3e5 +size 747066 diff --git a/plugins/DevicePlugins/Reports/GetPlugin.php b/plugins/DevicePlugins/Reports/GetPlugin.php index fb76bf84fa..357bb49db5 100644 --- a/plugins/DevicePlugins/Reports/GetPlugin.php +++ b/plugins/DevicePlugins/Reports/GetPlugin.php @@ -44,12 +44,14 @@ class GetPlugin extends Base $view->config->show_limit_control = false; $view->config->show_all_views_icons = false; $view->config->show_table_all_columns = false; + $view->config->show_totals_row = false; $view->config->columns_to_display = array('label', 'nb_visits_percentage', 'nb_visits'); $view->config->show_footer_message = Piwik::translate('DevicePlugins_PluginDetectionDoesNotWorkInIE'); $view->requestConfig->filter_sort_column = 'nb_visits_percentage'; $view->requestConfig->filter_sort_order = 'desc'; $view->requestConfig->filter_limit = count(DevicePlugins::getAllPluginColumns()); + $view->requestConfig->totals = 0; } } |