Code

Added subsearch
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 10 Aug 2006 11:53:33 +0000 (11:53 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 10 Aug 2006 11:53:33 +0000 (11:53 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4470 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/users/class_divListUsers.inc

index 12a847efcc51a83fa11c0f1ef7cd2503e7b3453f..94260149dbab6b1bfd5db5305079ff8cfcddf732 100644 (file)
@@ -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']])){