From: cajus Date: Tue, 27 Oct 2009 10:24:53 +0000 (+0000) Subject: Added filter update X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ab518823a3c9d5e7e678b20b78bf4571c34cef31;p=gosa.git Added filter update git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14650 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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);