From 3a8e39b006258896f0f7974f88022c9e3d41357a Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 14 Apr 2008 07:55:41 +0000 Subject: [PATCH] Updated package list query git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10379 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/fai/admin/fai/class_faiPackageEntry.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gosa-plugins/fai/admin/fai/class_faiPackageEntry.inc b/gosa-plugins/fai/admin/fai/class_faiPackageEntry.inc index e90f48b4f..7888d78bc 100644 --- a/gosa-plugins/fai/admin/fai/class_faiPackageEntry.inc +++ b/gosa-plugins/fai/admin/fai/class_faiPackageEntry.inc @@ -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{ -- 2.30.2