Code

Update ldap filter to handle empty object storage
[gosa.git] / gosa-core / include / class_filter.inc
index 86b23cf0dce4c8bf6e2daba8ddb3f66caa91876a..365f9da631389b3ba0c44c0e4b343109c26db419 100644 (file)
@@ -418,13 +418,9 @@ class filter {
 
   function update()
   {
-
     /* React on alphabet links if needed */
     if (isset($_GET['filter'])){
-      $s= mb_substr(validate($_GET['filter']), 0, 1, "UTF8")."*";
-      if ($s == "**"){
-        $s= "*";
-      }
+      $s= mb_substr(validate($_GET['filter']), 0, 1, "UTF8");
       foreach ($this->alphabetElements as $tag) {
         $this->elementValues[$tag]= $s;
       }