From: hickert Date: Thu, 10 Aug 2006 11:53:33 +0000 (+0000) Subject: Added subsearch X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=8716a41466d4158c49cfe341a35cb5f83035232b;p=gosa.git Added subsearch git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4470 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/users/class_divListUsers.inc b/plugins/admin/users/class_divListUsers.inc index 12a847efc..94260149d 100644 --- a/plugins/admin/users/class_divListUsers.inc +++ b/plugins/admin/users/class_divListUsers.inc @@ -88,10 +88,10 @@ class divListUsers extends MultiSelectWindow /* Get all departments within this subtree */ $base = $this->config->current['BASE']; $deps= get_list("(&(|(ou=*)(description=*))(objectClass=gosaDepartment))", $this->module, $base, - array("ou", "description"), GL_SIZELIMIT); - + array("ou", "description"), GL_SIZELIMIT | GL_SUBSEARCH); + $ids = $this->config->idepartments; - + foreach($deps as $dep){ if(isset($ids[$dep['dn']])){