From 59062fe23e3a8af8ee6f49fe8b22593ef69f049b Mon Sep 17 00:00:00 2001 From: danika chhour Date: Wed, 17 Jan 2018 13:54:28 +1300 Subject: Removed totals --- plugins/Actions/Reports/GetPageTitlesFollowingSiteSearch.php | 2 +- plugins/Events/Columns/TotalEvents.php | 4 ++-- plugins/Events/Events.php | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'plugins') diff --git a/plugins/Actions/Reports/GetPageTitlesFollowingSiteSearch.php b/plugins/Actions/Reports/GetPageTitlesFollowingSiteSearch.php index 4b3911780a..cd8a6e4d75 100644 --- a/plugins/Actions/Reports/GetPageTitlesFollowingSiteSearch.php +++ b/plugins/Actions/Reports/GetPageTitlesFollowingSiteSearch.php @@ -48,7 +48,7 @@ class GetPageTitlesFollowingSiteSearch extends SiteSearchBase { return array( 'nb_hits_following_search' => Piwik::translate('General_ColumnViewedAfterSearch'), - 'nb_hits' => Piwik::translate('General_ColumnTotalPageviews'), + 'nb_hits' => Piwik::translate('General_ColumnPageviews'), ); } diff --git a/plugins/Events/Columns/TotalEvents.php b/plugins/Events/Columns/TotalEvents.php index f96392c194..62ebe11ac4 100644 --- a/plugins/Events/Columns/TotalEvents.php +++ b/plugins/Events/Columns/TotalEvents.php @@ -18,7 +18,7 @@ class TotalEvents extends VisitDimension protected $columnName = 'visit_total_events'; protected $columnType = 'INT(11) UNSIGNED NULL'; protected $segmentName = 'events'; - protected $nameSingular = 'Events_TotalEvents'; + protected $nameSingular = 'Events_Events '; protected $acceptValues = 'To select all visits who triggered an Event, use: &segment=events>0'; protected $type = self::TYPE_NUMBER; @@ -61,4 +61,4 @@ class TotalEvents extends VisitDimension { return ($action && $action->getActionType() == Action::TYPE_EVENT); } -} \ No newline at end of file +} diff --git a/plugins/Events/Events.php b/plugins/Events/Events.php index d3fc8501f1..4c12a53fe0 100644 --- a/plugins/Events/Events.php +++ b/plugins/Events/Events.php @@ -45,8 +45,8 @@ class Events extends \Piwik\Plugin public function getMetricDocumentation() { $documentation = array( - 'nb_events' => 'Events_TotalEventsDocumentation', - 'sum_event_value' => 'Events_TotalValueDocumentation', + 'nb_events' => 'Events_EventsDocumentation', + 'sum_event_value' => 'Events_EventValueDocumentation', 'min_event_value' => 'Events_MinValueDocumentation', 'max_event_value' => 'Events_MaxValueDocumentation', 'avg_event_value' => 'Events_AvgValueDocumentation', @@ -59,8 +59,8 @@ class Events extends \Piwik\Plugin public function getMetricTranslations() { $metrics = array( - 'nb_events' => 'Events_TotalEvents', - 'sum_event_value' => 'Events_TotalValue', + 'nb_events' => 'Events_Events', + 'sum_event_value' => 'Events_EventValue', 'min_event_value' => 'Events_MinValue', 'max_event_value' => 'Events_MaxValue', 'avg_event_value' => 'Events_AvgValue', -- cgit v1.2.3