Code

Udpated Search Filter.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 30 Oct 2008 08:01:33 +0000 (08:01 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 30 Oct 2008 08:01:33 +0000 (08:01 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12817 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_MultiSelectWindow.inc

index 38e1557b757776ff1033815509ee35d9edb87b99..ebdd1a391ff2db4ec892b7dc7505c4d18c110df2 100644 (file)
@@ -675,7 +675,7 @@ class MultiSelectWindow{
     $s_attrs  = array("description");
     $s_acls   = array();
     foreach($types as $name => $data){
-      $s_filter.= "(&(objectClass=".$data['OC'].")(".$data['ATTR']."=".$this->base_selection_regex."))";
+      $s_filter.= "(&(objectClass=gosaDepartment)(objectClass=".$data['OC'].")(".$data['ATTR']."=".$this->base_selection_regex."))";
       $s_attrs[]= $data['ATTR']; 
       $s_acls[] = "department/".$data['ACL'];
     }