Code

Bugfix for Trac #1983
authorpsc <psc@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 4 Feb 2010 15:49:01 +0000 (15:49 +0000)
committerpsc <psc@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 4 Feb 2010 15:49:01 +0000 (15:49 +0000)
When getting a list of object groups add the missing fetching
of the description, otherwise it cannot be displayed.

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@15590 594d385d-05f5-0310-b6e9-bd551577e9d8

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;