[icinga-checkins] icinga.org: icingaweb2/master: FilterEditor: handle ignoreParams correctly

git at icinga.org git at icinga.org
Sun Nov 16 00:38:44 CET 2014


Module: icingaweb2
Branch: master
Commit: 5630374058084b6a178ea1152acab16d3c951bb0
URL:    https://git.icinga.org/?p=icingaweb2.git;a=commit;h=5630374058084b6a178ea1152acab16d3c951bb0

Author: Thomas Gelf <thomas at gelf.net>
Date:   Sun Nov 16 00:19:28 2014 +0100

FilterEditor: handle ignoreParams correctly

---

 library/Icinga/Web/Widget/FilterEditor.php |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/library/Icinga/Web/Widget/FilterEditor.php b/library/Icinga/Web/Widget/FilterEditor.php
index 5031ddb..0c0a620 100644
--- a/library/Icinga/Web/Widget/FilterEditor.php
+++ b/library/Icinga/Web/Widget/FilterEditor.php
@@ -110,7 +110,7 @@ class FilterEditor extends AbstractWidget
 
     public function handleRequest($request)
     {
-        $this->setUrl($request->getUrl());
+        $this->setUrl($request->getUrl()->without($this->ignoreParams));
         $params = $this->url()->getParams();
 
         $preserve = array();
@@ -612,4 +612,4 @@ class FilterEditor extends AbstractWidget
             return 'ERROR in FilterEditor: ' . $e->getMessage();
         }
     }
-}
\ No newline at end of file
+}



More information about the icinga-checkins mailing list