Code

Updated device handling.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 19 Nov 2009 12:41:45 +0000 (12:41 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 19 Nov 2009 12:41:45 +0000 (12:41 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14826 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/goto/admin/devices/device-filter.tpl
gosa-plugins/goto/admin/devices/device-filter.xml

index 8f83a74b4479da23430cd445bcede007fa9c904c..ba7af5cdef3357da37d194fd90ccfb3a1e676e82 100644 (file)
@@ -8,6 +8,8 @@
 
 <div style="border-top:1px solid #AAAAAA"></div>
 
+ {$SCOPE}
+
  <table summary="" style="width:100%;border-top:1px solid #B0B0B0;">
   <tr>
    <td>
index 3e6338bd07c68aa22ee23fe7482383f033602d97..6493c0bbf1b62fec80f1fac84aaf11dbc87736ff 100644 (file)
       <attribute>cn</attribute>
       <attribute>description</attribute>
     </query>
-    <scope>one</scope>
+    <scope>auto</scope>
   </search>
 
-  <element>
-    <tag>RELEASE</tag>
-    <type>combobox</type>
-    <value>Loading.</value>
-    <value>Loading..</value>
-    <value>Loading...</value>
-  </element>
-
   <element>
     <type>textfield</type>
     <tag>NAME</tag>
     <maxlength>60</maxlength>
     <default></default>
     <unset></unset>
-    <set>(|(cn=*$*)(description=*$*))</set>
-    <alphabet>true</alphabet>
+    <set>(cn=*$*)</set>
+    <alphabet>false</alphabet>
     <autocomplete>
       <backend>LDAP</backend>
-      <filter>(&amp;(objectClass=gotoDevice)(|(cn=*$NAME*)(description=*$NAME*)))</filter>
+      <filter>(&amp;(objectClass=gotoDevice)(cn=*$NAME*))</filter>
       <attribute>cn</attribute>
       <frequency>0.5</frequency>
       <characters>3</characters>