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:
authorBenaka Moorthi <benaka.moorthi@gmail.com>2013-07-19 15:21:50 +0400
committerBenaka Moorthi <benaka.moorthi@gmail.com>2013-07-19 15:21:50 +0400
commit0713062313967d940b8f5c34cb21d515c6b016b4 (patch)
tree03c78e68d7f4a92ba2e0085df946e5cf9c84ef76 /plugins/VisitorInterest
parent53bf5b49f66cc138d408b4499625223d7a6e7c30 (diff)
Refs #4041, move Piwik_ViewDataTable_GenerateGraphData logic to new JqplotDataGenerator class that does not derive from ViewDataTable and remove recursive API request used to get graph data.
Diffstat (limited to 'plugins/VisitorInterest')
-rw-r--r--plugins/VisitorInterest/API.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/VisitorInterest/API.php b/plugins/VisitorInterest/API.php
index b8abd9cb8c..87a7308a99 100644
--- a/plugins/VisitorInterest/API.php
+++ b/plugins/VisitorInterest/API.php
@@ -71,7 +71,7 @@ class Piwik_VisitorInterest_API
{
$dataTable = $this->getDataTable(
Piwik_VisitorInterest_Archiver::DAYS_SINCE_LAST_RECORD_NAME, $idSite, $period, $date, $segment, Piwik_Metrics::INDEX_NB_VISITS);
-
+ $dataTable->queueFilter('Sort', array('label', 'asc', true));
$dataTable->queueFilter('BeautifyRangeLabels', array(
Piwik_Translate('General_OneDay'), Piwik_Translate('General_NDays')));