summaryrefslogtreecommitdiffstats
path: root/application/controllers/ServicesController.php
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:21:35 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:21:35 +0000
commitcddcdba3c9be7e32454d0c54efd1d60e7cef7518 (patch)
tree485d573becbe08ff71189381739483cdb57cf949 /application/controllers/ServicesController.php
parentAdding upstream version 1.2.2. (diff)
downloadicingaweb2-module-graphite-upstream.tar.xz
icingaweb2-module-graphite-upstream.zip
Adding upstream version 1.2.4.upstream/1.2.4upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'application/controllers/ServicesController.php')
-rw-r--r--application/controllers/ServicesController.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/application/controllers/ServicesController.php b/application/controllers/ServicesController.php
index 212ad1f..48a353d 100644
--- a/application/controllers/ServicesController.php
+++ b/application/controllers/ServicesController.php
@@ -28,7 +28,7 @@ class ServicesController extends IcingadbGraphiteController
// shift graph params to avoid exception
$graphRange = $this->params->shift('graph_range');
$baseFilter = $graphRange ? Filter::equal('graph_range', $graphRange) : null;
- foreach ($this->graphParams as $param) {
+ foreach ($this->preservedParams as $param) {
$this->params->shift($param);
}
@@ -54,7 +54,7 @@ class ServicesController extends IcingadbGraphiteController
$services,
array_merge(
[$limitControl->getLimitParam(), $sortControl->getSortParam()],
- $this->graphParams
+ $this->preservedParams
)
);
@@ -105,7 +105,7 @@ class ServicesController extends IcingadbGraphiteController
Service::on($this->getDb()),
array_merge(
[LimitControl::DEFAULT_LIMIT_PARAM, SortControl::DEFAULT_SORT_PARAM],
- $this->graphParams
+ $this->preservedParams
)
);