From 217bf4c7bf32d6abc9af95fdaf882a6dbb1e04db Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 4 Apr 2011 10:02:54 +0000 Subject: [PATCH] Added current entry git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20641 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../class_filterConfigManagement.inc | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/gosa-plugins/goto-ng/admin/newConfigManagement/class_filterConfigManagement.inc b/gosa-plugins/goto-ng/admin/newConfigManagement/class_filterConfigManagement.inc index 87697b819..477ab21f5 100644 --- a/gosa-plugins/goto-ng/admin/newConfigManagement/class_filterConfigManagement.inc +++ b/gosa-plugins/goto-ng/admin/newConfigManagement/class_filterConfigManagement.inc @@ -16,6 +16,20 @@ class filterConfigManagement { // Add entries $ret = array(); + if($data['path'] != "/root"){ + $back = array(); + $back['dn'] = $data['id']; + $back[] = 'dn'; + $back['cn'] = array('.', 'count' => 1); + $back[] = 'cn'; + $back['description'] = array('.', 'count' => 1); + $back[] = 'description'; + $back['objectClass'] = array('Back', 'count' => 1); + $back[] = 'objectClass'; + $back['count'] = 3; + $ret[] = $back; + } + foreach($data['children'] as $item){ filterDeviceItems::addEntry($ret, $item, $scope == 'sub', $filter); } -- 2.30.2