diff --git a/plugins/Referers/API.php b/plugins/Referers/API.php index 799ba66ca68..2522e56b923 100644 --- a/plugins/Referers/API.php +++ b/plugins/Referers/API.php @@ -486,10 +486,7 @@ private function setGetReferrerTypeSubtables( $dataTable, $idSite, $period, $dat { if ($dataTable instanceof Piwik_DataTable_Array) // recurse for array datatables { - foreach ($dataTable->getArray() as $childTable) - { - $this->setGetReferrerTypeSubtables($childTable, $idSite, $period, $date, $segment, $expanded); - } + throw new Exception("Referrers.getAll with multiple sites or dates is not supported (yet)."); } else { diff --git a/plugins/Referers/Controller.php b/plugins/Referers/Controller.php index 861d8c07e8e..ac09146591b 100644 --- a/plugins/Referers/Controller.php +++ b/plugins/Referers/Controller.php @@ -149,6 +149,7 @@ public function getAll( $fetch = false ) $view->setColumnsToDisplay(array('label', 'nb_visits')); $view->enableShowGoals(); $view->setLimit(20); + $view->setCustomParameter('disable_row_actions', '1'); $setGetAllHtmlPrefix = array($this, 'setGetAllHtmlPrefix'); $view->queueFilter(