Code

Some filter tests
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 15 Mar 2010 16:47:21 +0000 (16:47 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 15 Mar 2010 16:47:21 +0000 (16:47 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16542 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/systems/admin/systems/system-filter.xml

index 1f24590bccd6b25aedcb2e35ce8fcb8fa0341e06..185a9ab6eefc84e9f56db27a208c9ab2fa7430ab 100644 (file)
     <label>Default filter</label>
     <query>
       <backend>SYSTEMS</backend>
-      <filter>(&amp;(objectClass=goServer)(cn=$))</filter>
+      <filter>(&amp;(objectClass=goServer)(objectClass=goPhoneHardware)(cn=$))</filter>
     </query>
+    <autocomplete>
+      <attribute>cn</attribute>
+      <frequency>0.5</frequency>
+      <characters>3</characters>
+    </autocomplete>
+  </search>
+
+  <search>
+    <tag>all</tag>
+    <label>Ldap &amp; opsi</label>
+    <query>
+      <backend>SYSTEMS</backend>
+      <filter>(&amp;(objectClass=goServer)(objectClass=goPhoneHardware)(cn=$))</filter>
+    </query>
+    <query>
+      <backend>OPSIHOSTS</backend>
+      <filter>cn=$</filter>
+    </query>
+    <autocomplete>
+      <attribute>cn</attribute>
+      <frequency>0.5</frequency>
+      <characters>3</characters>
+    </autocomplete>
+  </search>
+
+
+  <search>
+    <tag>onlyOpsi</tag>
+    <label>Opsi hosts</label>
     <query>
       <backend>OPSIHOSTS</backend>
       <filter>cn=$</filter>