Code

Updated department filter.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 16 Mar 2010 07:10:28 +0000 (07:10 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 16 Mar 2010 07:10:28 +0000 (07:10 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16559 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/admin/departments/dep-filter.xml

index 505b1fdfba3f4ed43ef5d3663966929df74e6a86..cfca0014787cc935a7705a9a8fe6bdd666454db4 100644 (file)
@@ -2,22 +2,22 @@
 
 <filterdef>
   <definition>
+    <category>department</category>
     <initial>true</initial>
     <default>default</default>
     <scope>auto</scope>
+    <attribute>dn</attribute>
+    <attribute>objectClass</attribute>
+    <attribute>ou</attribute>
+    <attribute>description</attribute>
   </definition>
 
   <search>
     <tag>default</tag>
     <label>Default filter</label>
     <query>
-      <storage></storage>
       <backend>LDAP</backend>
       <filter>(&amp;(objectClass=gosaDepartment)(|(dc=$)(ou=$)(o=$)(l=$)(c=$)))</filter>
-      <attribute>dn</attribute>
-      <attribute>objectClass</attribute>
-      <attribute>ou</attribute>
-      <attribute>description</attribute>
     </query>
     <autocomplete>
       <frequency>0.5</frequency>
     </autocomplete>
   </search>
 
+  <search>
+    <tag>default2</tag>
+    <label>Dummy</label>
+    <query>
+      <backend>LDAP</backend>
+      <filter>(&amp;(objectClass=gosaDepartment)(|(dc=$)(ou=$)(o=$)(l=$)(c=$)))</filter>
+    </query>
+    <autocomplete>
+      <frequency>0.5</frequency>
+      <characters>3</characters>
+      <attribute>ou</attribute>
+      <attribute>dc</attribute>
+      <attribute>c</attribute>
+      <attribute>l</attribute>
+      <attribute>o</attribute>
+    </autocomplete>
+  </search>
 </filterdef>