From ab518823a3c9d5e7e678b20b78bf4571c34cef31 Mon Sep 17 00:00:00 2001 From: cajus Date: Tue, 27 Oct 2009 10:24:53 +0000 Subject: [PATCH] Added filter update git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14650 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_management.inc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/gosa-core/include/class_management.inc b/gosa-core/include/class_management.inc index f4375e8b6..00629634d 100644 --- a/gosa-core/include/class_management.inc +++ b/gosa-core/include/class_management.inc @@ -79,6 +79,15 @@ class management return($this->getHeader().$ret); } + // Update filter + if ($this->filter) { + $this->filter->update(); + session::set('autocomplete', $this->filter); + if (!$this->filter->isValid()){ + msg_dialog::display(_("Filter error"), _("The filter is incomplete!"), ERROR_DIALOG); + } + } + // Handle actions (POSTs and GETs) $str = $this->handleActions($this->detectPostActions()); if($str) return($this->getHeader().$str); -- 2.30.2