Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBeezyT <timo@ezdesign.de>2011-09-07 19:25:57 +0400
committerBeezyT <timo@ezdesign.de>2011-09-07 19:25:57 +0400
commitc2c9faba9aab1c3a7b6bd25322a6ddfd71913f58 (patch)
tree8a7b74ecf3d6a6dda5181a8b90650044acee6c81 /plugins/UserCountry
parent9faa86e4747212650940ce41f6be99cf18d98264 (diff)
Refs #2633 redesigned segmentation api: all segments work for all reports now
git-svn-id: http://dev.piwik.org/svn/trunk@5138 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'plugins/UserCountry')
-rw-r--r--plugins/UserCountry/UserCountry.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/UserCountry/UserCountry.php b/plugins/UserCountry/UserCountry.php
index 8fcb565da6..e24ad95b8c 100644
--- a/plugins/UserCountry/UserCountry.php
+++ b/plugins/UserCountry/UserCountry.php
@@ -61,7 +61,7 @@ class Piwik_UserCountry extends Piwik_Plugin
'category' => 'Visit',
'name' => Piwik_Translate('UserCountry_Country'),
'segment' => 'country',
- 'sqlSegment' => 'location_country',
+ 'sqlSegment' => 'log_visit.location_country',
'acceptedValues' => 'de, us, fr, in, es, etc.'
);
$segments[] = array(
@@ -69,7 +69,7 @@ class Piwik_UserCountry extends Piwik_Plugin
'category' => 'Visit',
'name' => Piwik_Translate('UserCountry_Continent'),
'segment' => 'continent',
- 'sqlSegment' => 'location_continent',
+ 'sqlSegment' => 'log_visit.location_continent',
'acceptedValues' => 'eur, asi, amc, amn, ams, afr, ant, oce'
);
}
@@ -151,10 +151,10 @@ class Piwik_UserCountry extends Piwik_Plugin
*/
protected function archiveDayAggregateVisits($archiveProcessing)
{
- $labelSQL = "location_country";
+ $labelSQL = "log_visit.location_country";
$this->interestByCountry = $archiveProcessing->getArrayInterestForLabel($labelSQL);
- $labelSQL = "location_continent";
+ $labelSQL = "log_visit.location_continent";
$this->interestByContinent = $archiveProcessing->getArrayInterestForLabel($labelSQL);
}