diff options
author | vipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2009-12-13 07:30:32 +0300 |
---|---|---|
committer | vipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2009-12-13 07:30:32 +0300 |
commit | 1037cb50ee797434d2fed5dbd79426b2c708b89e (patch) | |
tree | 4ddf8796d8624dfd6083283bbc02efd964d350b8 /plugins/Live | |
parent | e7419f81840d3075d7cd9941256ac26eccda6cf5 (diff) |
remove 'label' from getLastVisitsDetails
Diffstat (limited to 'plugins/Live')
-rw-r--r-- | plugins/Live/Controller.php | 25 |
1 files changed, 17 insertions, 8 deletions
diff --git a/plugins/Live/Controller.php b/plugins/Live/Controller.php index 76800e6f74..45c8d15ef2 100644 --- a/plugins/Live/Controller.php +++ b/plugins/Live/Controller.php @@ -49,8 +49,6 @@ class Piwik_Live_Controller extends Piwik_Controller __FUNCTION__, 'Live.getLastVisitsDetails', 'getPagesFromVisitId'); - - // All colomns in DB which could be shown //'ip', 'idVisit', 'countActions', 'isVisitorReturning', 'country', 'countryFlag', 'continent', 'provider', 'providerUrl', 'idSite', //'serverDate', 'visitLength', 'visitLengthPretty', 'firstActionTimestamp', 'lastActionTimestamp', 'refererType', 'refererName', @@ -58,9 +56,22 @@ class Piwik_Live_Controller extends Piwik_Controller //'browserFamily', 'browserFamilyDescription', 'browser', 'browserIcon', 'screen', 'resolution', 'screenIcon', 'plugins', 'lastActionDateTime', //'serverDatePretty', 'serverTimePretty', 'actionDetails' - $view->setColumnsToDisplay( array('label', 'idVisit', 'serverDatePretty', 'serverTimePretty', 'ip', 'countActions', 'visitLengthPretty', 'keywords', 'refererUrl', - 'operatingSystemShortName', 'browser', 'screen', 'resolution', 'plugins' - ) ); + $view->setColumnsToDisplay(array( + 'idVisit', + 'serverDatePretty', + 'serverTimePretty', + 'ip', + 'countActions', + 'visitLengthPretty', + 'keywords', + 'refererUrl', + 'operatingSystemShortName', + 'browser', + 'screen', + 'resolution', + 'plugins', + )); + $view->disableSort(); $view->setLimit(10); $view->disableExcludeLowPopulation(); @@ -68,8 +79,7 @@ class Piwik_Live_Controller extends Piwik_Controller return $this->renderView($view, $fetch); } - - + function getPagesFromVisitId( $fetch = false) { $view = Piwik_ViewDataTable::factory(''); @@ -147,5 +157,4 @@ class Piwik_Live_Controller extends Piwik_Controller echo $view->render(); } - } |