Code

Bugfix for Trac #1983
[gosa.git] / trunk / gosa-core / plugins / admin / ogroups / class_ogroupManagement.inc
index 72b51c0a145f36c6f3330b198d2ff2a6a7ff9b0b..7dc085c0548b9f3c143ba57b2d21ccaf0da05ecb 100644 (file)
@@ -615,9 +615,9 @@ class ogroupManagement extends plugin
     $filter= "(&(cn=$Regex)(objectClass=gosaGroupOfNames)(|$filter))";
 
     if($this->DivListOGroup->SubSearch){
-      $res= get_sub_list($filter, "ogroups",get_ou('ogroupRDN'), $base, array("cn","objectClass","gosaGroupObjects"), GL_SIZELIMIT | GL_SUBSEARCH);
+      $res= get_sub_list($filter, "ogroups",get_ou('ogroupRDN'), $base, array("cn","objectClass","gosaGroupObjects", "description"), GL_SIZELIMIT | GL_SUBSEARCH);
     }else{
-      $res= get_sub_list($filter, "ogroups",get_ou('ogroupRDN'), get_ou('ogroupRDN').$base, array("cn","objectClass","gosaGroupObjects"), GL_SIZELIMIT );
+      $res= get_sub_list($filter, "ogroups",get_ou('ogroupRDN'), get_ou('ogroupRDN').$base, array("cn","objectClass","gosaGroupObjects", "description"), GL_SIZELIMIT );
     }
 
     $this->ogrouplist= $res;