From: hickert Date: Tue, 16 Mar 2010 08:40:29 +0000 (+0000) Subject: reenabled filter caching X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=8b3da52ed93952ce135cf4af7abcb768b3a85782;p=gosa.git reenabled filter caching git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16598 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/systems/admin/systems/class_systemManagement.inc b/gosa-plugins/systems/admin/systems/class_systemManagement.inc index 4413c7ef9..03fcb4976 100644 --- a/gosa-plugins/systems/admin/systems/class_systemManagement.inc +++ b/gosa-plugins/systems/admin/systems/class_systemManagement.inc @@ -86,12 +86,12 @@ class systemManagement extends management $this->storagePoints = array_unique($sP); // Build filter -# if (session::global_is_set(get_class($this)."_filter")){ - # $filter= session::global_get(get_class($this)."_filter"); - # } else { + if (session::global_is_set(get_class($this)."_filter")){ + $filter= session::global_get(get_class($this)."_filter"); + } else { $filter = new filter(get_template_path("system-filter.xml", true)); $filter->setObjectStorage($this->storagePoints); - # } + } $this->setFilter($filter); // Build headpage