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:
Diffstat (limited to 'plugins/Resolution/Reports/GetResolution.php')
-rw-r--r--plugins/Resolution/Reports/GetResolution.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/plugins/Resolution/Reports/GetResolution.php b/plugins/Resolution/Reports/GetResolution.php
index f9066ce19c..3b27236a86 100644
--- a/plugins/Resolution/Reports/GetResolution.php
+++ b/plugins/Resolution/Reports/GetResolution.php
@@ -11,6 +11,7 @@ namespace Piwik\Plugins\Resolution\Reports;
use Piwik\Piwik;
use Piwik\Plugin\ViewDataTable;
use Piwik\Plugins\Resolution\Columns\Resolution;
+use Piwik\Plugin\Reports;
class GetResolution extends Base
{
@@ -20,8 +21,9 @@ class GetResolution extends Base
$this->dimension = new Resolution();
$this->name = Piwik::translate('Resolution_WidgetResolutions');
$this->documentation = ''; // TODO
- $this->order = 0;
- $this->widgetTitle = 'Resolution_WidgetResolutions';
+ $this->order = 8;
+
+ $this->subcategoryId = 'DevicesDetection_Devices';
}
public function configureView(ViewDataTable $view)
@@ -34,7 +36,7 @@ class GetResolution extends Base
public function getRelatedReports()
{
return array(
- self::factory('Resolution', 'getConfiguration'),
+ Reports::factory('Resolution', 'getConfiguration'),
);
}
}