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:
authormattpiwik <matthieu.aubry@gmail.com>2008-03-26 04:38:45 +0300
committermattpiwik <matthieu.aubry@gmail.com>2008-03-26 04:38:45 +0300
commitc666ab08aa3288a846a18ad255a323b101c45f62 (patch)
treed69bf0c2126968de923893817b8c1f97c2e34605 /plugins/VisitorInterest/Controller.php
parent4f81ddabfff902853e668e278f1d44b96c8b8c4c (diff)
- refs #33 work in progress soon finished
- updated OFC lib and added link to stats on EVOLUTION GRAPH - changed api of Piwik_ViewDataTable::factory git-svn-id: http://dev.piwik.org/svn/trunk@410 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'plugins/VisitorInterest/Controller.php')
-rw-r--r--plugins/VisitorInterest/Controller.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/VisitorInterest/Controller.php b/plugins/VisitorInterest/Controller.php
index 46812ac313..a5efdad242 100644
--- a/plugins/VisitorInterest/Controller.php
+++ b/plugins/VisitorInterest/Controller.php
@@ -19,7 +19,7 @@ class Piwik_VisitorInterest_Controller extends Piwik_Controller
*/
function getNumberOfVisitsPerVisitDuration( $fetch = false)
{
- $view = Piwik_ViewDataTable::factory( null, 'cloud' );
+ $view = Piwik_ViewDataTable::factory( 'cloud' );
$view->init( $this->pluginName, __FUNCTION__,
"VisitorInterest.getNumberOfVisitsPerVisitDuration" );
@@ -34,12 +34,12 @@ class Piwik_VisitorInterest_Controller extends Piwik_Controller
function getNumberOfVisitsPerPage( $fetch = false)
{
- $view = Piwik_ViewDataTable::factory( null, 'cloud' );
+ $view = Piwik_ViewDataTable::factory( 'cloud' );
$view->init( $this->pluginName, __FUNCTION__,
"VisitorInterest.getNumberOfVisitsPerPage" );
$view->setColumnsToDisplay( array('label','nb_visits') );
- $view->setSortedColumn( 'nb_visits' );
+ $view->setSortedColumn( 'nb_visits', 'asc' );
$view->disableExcludeLowPopulation();
$view->disableOffsetInformation();
$view->disableSearchBox();