From: hickert Date: Fri, 22 Feb 2008 11:53:31 +0000 (+0000) Subject: updated group listing X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1280d385f437a54d2c9632b0fd7b755e375bc1c2;p=gosa.git updated group listing git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9065 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/plugins/admin/groups/class_groupManagement.inc b/gosa-core/plugins/admin/groups/class_groupManagement.inc index e8e19f27f..a2f244045 100644 --- a/gosa-core/plugins/admin/groups/class_groupManagement.inc +++ b/gosa-core/plugins/admin/groups/class_groupManagement.inc @@ -591,17 +591,16 @@ class groupManagement extends plugin Only perfrom this search if ShowFunctionalGroups is unchecked, else leave arre empty */ $ff = "(&(cn=$Regex)(objectClass=posixGroup)(!(|(objectClass=gosaMailAccount)(objectClass=gosaApplicationGroup)$sfilter)))"; if ($SubSearch){ - $res = get_list($ff, "groups", $base,array("gidNumber", "cn", "description"), GL_SUBSEARCH); + $res = get_sub_list($ff, "groups",get_groups_ou(), $base,array("gidNumber", "cn", "description"), GL_SUBSEARCH); } else { - $res = get_list($ff, "groups", $base,array("gidNumber", "cn", "description"), GL_NONE); + $res = get_sub_list($ff, "groups",get_groups_ou(), $base,array("gidNumber", "cn", "description"), GL_NONE); } foreach($res as $attrs){ if (!isset($primaries[$attrs['gidNumber'][0]])){ $functional[$attrs['gidNumber'][0]]= $attrs['gidNumber'][0]; } } - - + /******************** Search for the prepared filter ********************/