summaryrefslogtreecommitdiffstats
path: root/application/controllers/HostsController.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/controllers/HostsController.php')
-rw-r--r--application/controllers/HostsController.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/application/controllers/HostsController.php b/application/controllers/HostsController.php
index f77281a..85cd2db 100644
--- a/application/controllers/HostsController.php
+++ b/application/controllers/HostsController.php
@@ -30,7 +30,7 @@ class HostsController 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);
}
@@ -51,7 +51,7 @@ class HostsController extends IcingadbGraphiteController
$hosts,
array_merge(
[$limitControl->getLimitParam(), $sortControl->getSortParam()],
- $this->graphParams
+ $this->preservedParams
)
);
@@ -102,7 +102,7 @@ class HostsController extends IcingadbGraphiteController
Host::on($this->getDb()),
array_merge(
[LimitControl::DEFAULT_LIMIT_PARAM, SortControl::DEFAULT_SORT_PARAM],
- $this->graphParams
+ $this->preservedParams
)
);