From 602f71f2ee874ce922adbdd242657602995e383d Mon Sep 17 00:00:00 2001 From: cajus Date: Tue, 27 Oct 2009 16:00:59 +0000 Subject: [PATCH] Added filters git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14663 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/plugins/admin/users/class_userManagement.inc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/gosa-core/plugins/admin/users/class_userManagement.inc b/gosa-core/plugins/admin/users/class_userManagement.inc index c46da475b..6b9555930 100644 --- a/gosa-core/plugins/admin/users/class_userManagement.inc +++ b/gosa-core/plugins/admin/users/class_userManagement.inc @@ -49,8 +49,12 @@ class userManagement extends management $this->storagePoints = array(get_ou("userRDN")); // Build filter - $filter = new filter(get_template_path("user-filter.xml", true)); - $filter->setObjectStorage($this->storagePoints); + if (session::global_is_set(get_class($this)."_filter")){ + $filter= session::global_get(get_class($this)."_filter"); + } else { + $filter = new filter(get_template_path("user-filter.xml", true)); + $filter->setObjectStorage($this->storagePoints); + } $this->setFilter($filter); // Build headpage -- 2.30.2