diff options
author | Stefan Giehl <stefan@matomo.org> | 2022-10-13 12:14:41 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-13 12:14:41 +0300 |
commit | 2b18321afb943c32c65e9f1e075f91d28fff5337 (patch) | |
tree | f885824e1792920fbd46c7e8570f8130e6697ed1 /plugins | |
parent | 9d54f79bc3aceb30191aa264531c2c4af79dc6ee (diff) |
Enable search for software configuration report (#19847)
* Enable search for software configuration report
* update expected test files
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/Resolution/API.php | 2 | ||||
-rw-r--r-- | plugins/Resolution/Reports/GetConfiguration.php | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/plugins/Resolution/API.php b/plugins/Resolution/API.php index 45a1eb5a6b..a3891a7528 100644 --- a/plugins/Resolution/API.php +++ b/plugins/Resolution/API.php @@ -42,7 +42,7 @@ class API extends \Piwik\Plugin\API { $dataTable = $this->getDataTable(Archiver::CONFIGURATION_RECORD_NAME, $idSite, $period, $date, $segment); // use GroupBy filter to avoid duplicate rows if old reports are displayed - $dataTable->queueFilter('GroupBy', array('label', __NAMESPACE__ . '\getConfigurationLabel')); + $dataTable->filter('GroupBy', array('label', __NAMESPACE__ . '\getConfigurationLabel')); return $dataTable; } } diff --git a/plugins/Resolution/Reports/GetConfiguration.php b/plugins/Resolution/Reports/GetConfiguration.php index 46659133ba..c5ed917878 100644 --- a/plugins/Resolution/Reports/GetConfiguration.php +++ b/plugins/Resolution/Reports/GetConfiguration.php @@ -33,6 +33,7 @@ class GetConfiguration extends Base $view->config->addTranslation('label', $this->dimension->getName()); $view->requestConfig->filter_limit = 3; + $view->config->show_search = true; } public function getRelatedReports() |