[icinga-checkins] icinga.org: icingaweb2/feature/add-to-dashboard-4537: monitoring/list: let filter know special params

git at icinga.org git at icinga.org
Wed Nov 19 11:48:10 CET 2014


Module: icingaweb2
Branch: feature/add-to-dashboard-4537
Commit: 108f854848aa94e8b5e552400ab3f70dec4b5a94
URL:    https://git.icinga.org/?p=icingaweb2.git;a=commit;h=108f854848aa94e8b5e552400ab3f70dec4b5a94

Author: Thomas Gelf <thomas at gelf.net>
Date:   Wed Nov 19 08:11:53 2014 +0100

monitoring/list: let filter know special params

---

 modules/monitoring/application/controllers/ListController.php |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/monitoring/application/controllers/ListController.php b/modules/monitoring/application/controllers/ListController.php
index a58304c..2558525 100644
--- a/modules/monitoring/application/controllers/ListController.php
+++ b/modules/monitoring/application/controllers/ListController.php
@@ -608,8 +608,8 @@ class Monitoring_ListController extends Controller
     {
         $editor = Widget::create('filterEditor')
             ->setQuery($query)
-            ->preserveParams('limit', 'sort', 'dir', 'format', 'view', 'backend')
-            ->ignoreParams('page', 'objecttype', 'from', 'to', 'state', 'btn_submit')
+            ->preserveParams('limit', 'sort', 'dir', 'format', 'view', 'backend', 'renderLayout', 'stateType', 'addColumns')
+            ->ignoreParams('page', 'objecttype', 'from', 'to', 'btn_submit')
             ->handleRequest($this->getRequest());
         $query->applyFilter($editor->getFilter());
 



More information about the icinga-checkins mailing list