Code

Updated package list query
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 14 Apr 2008 07:55:41 +0000 (07:55 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 14 Apr 2008 07:55:41 +0000 (07:55 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10379 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/fai/admin/fai/class_faiPackageEntry.inc

index e90f48b4fa801f74d90ad0de902ca12e3258cc5a..7888d78bc36bd1f9d82ee43d65aa00dc5c0ad31e 100644 (file)
@@ -38,7 +38,7 @@ class faiPackageEntry extends plugin
   {
     $this->package_sections = array();
     $q = new gosaSupportDaemon();
-    $ret = $q->FAI_get_packages($this->FAIdebianRelease,array("distinct section"));
+    $ret = $q->FAI_get_package_sections($this->FAIdebianRelease);
     if($q->is_error()){
       msg_dialog::display(_("Service infrastructure"),msgPool::siError($q->get_error()),ERROR_DIALOG);
     }else{
@@ -168,7 +168,7 @@ class faiPackageEntry extends plugin
     $q          = new gosaSupportDaemon();
     $filter     = preg_replace("/\*/","%",array($this->searchStrPKG));
     $attrs      = array("distribution", "package","version", "section", "description", "timestamp");
-    $ret        = $q->FAI_get_packages($this->FAIdebianRelease,$attrs,$filter);
+    $ret        = $q->FAI_get_packages($this->FAIdebianRelease,$attrs,$filter,0,200);
     if($q->is_error()){
       msg_dialog::display(_("Service infrastructure"),msgPool::siError($q->get_error()),ERROR_DIALOG);
     }else{