Code

Updated filter
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 31 Mar 2010 07:34:51 +0000 (07:34 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 31 Mar 2010 07:34:51 +0000 (07:34 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17415 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/fai/admin/fai/fai-filter.xml

index 50f934be402e42dbc04d54c98910047cb7b87db8..46878c7fb5c176c045ce3747b4cd6d1469cc97ec 100644 (file)
 
   <search>
     <tag>default</tag>
-    <label>Default filter</label>
+    <label>FAI objects</label>
     <query>
       <backend>FAI</backend>
       <filter>(&amp;(|(objectClass=FAIprofile)(objectClass=FAIhook)(objectClass=FAItemplate)(objectClass=FAIscript)(objectClass=FAIvariable)(objectClass=FAIpackageList)(objectClass=FAIpartitionTable))(cn=$))</filter>
     </query>
+    <autocomplete>
+      <attribute>cn</attribute>
+      <frequency>0.5</frequency>
+      <characters>3</characters>
+    </autocomplete>
+  </search>
+
+  <search>
+    <tag>opsi</tag>
+    <label>Opsi packages</label>
     <query>
       <backend>OPSIPackages</backend>
       <filter>opsi_netboot,opsi_local;$</filter>
     </autocomplete>
   </search>
 
+  <search>
+    <tag>faiopsi</tag>
+    <label>FAI &amp; Opsi packages</label>
+    <query>
+      <backend>FAI</backend>
+      <filter>(&amp;(|(objectClass=FAIprofile)(objectClass=FAIhook)(objectClass=FAItemplate)(objectClass=FAIscript)(objectClass=FAIvariable)(objectClass=FAIpackageList)(objectClass=FAIpartitionTable))(cn=$))</filter>
+    </query>
+    <query>
+      <backend>OPSIPackages</backend>
+      <filter>opsi_netboot,opsi_local;$</filter>
+    </query>
+    <autocomplete>
+      <attribute>cn</attribute>
+      <frequency>0.5</frequency>
+      <characters>3</characters>
+    </autocomplete>
+  </search>
+
+
 </filterdef>