Code

Updated filter initialization
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 11 Mar 2010 14:34:48 +0000 (14:34 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 11 Mar 2010 14:34:48 +0000 (14:34 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16465 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_userFilter.inc

index 502e1de86e41f53d5e8b9cf2ace9df2e1f2011b0..1c889311dae288dc48e39e4f7633797be9c5ef76 100644 (file)
@@ -52,7 +52,7 @@ class userFilter extends plugin
     }
 
     // Create the filter list
-    $this->filterWidget= new sortableListing();
+    $this->filterWidget= new sortableListing($this->filters, $this->convertFilterList());
     $this->filterWidget->setDeleteable(true);
     $this->filterWidget->setEditable(true);
     $this->filterWidget->setWidth("100%");
@@ -60,7 +60,6 @@ class userFilter extends plugin
     $this->filterWidget->setHeader(array(_("Parent filter"),_("Name"),_("Description"),_("Category"),_("Options"),""));
     $this->filterWidget->setColspecs(array('80px', '100px', '200px', '120px','150px'));
     $this->filterWidget->setAcl($ui->get_permissions($ui->dn,'users/user','gosaUserDefinedFilter'));
-    $this->filterWidget->setListData($this->filters, $this->convertFilterList());
   }